]> git.sur5r.net Git - u-boot/commit
ARM: rmobile: Disable CONFIG_ARCH_FIXUP_FDT_MEMORY
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 7 Sep 2017 07:48:24 +0000 (09:48 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 Sep 2017 00:04:41 +0000 (20:04 -0400)
commit25f840d7ef440442f290e760459714a068487727
tree14c65acc90e95ce705e40a64f080be93de811d34
parent183f5fd3caec9266432a7cbd50f59cec8bbddc6a
ARM: rmobile: Disable CONFIG_ARCH_FIXUP_FDT_MEMORY

Disable CONFIG_ARCH_FIXUP_FDT_MEMORY to prevent U-Boot from modifying
the memory {} nodes in the DT passed to the Linux kernel. The R8A779x
DT contains multiple memory {} nodes, while U-Boot only modifies the
first one and stuffs all the memory entries into it, which is wrong.
Disabling CONFIG_ARCH_FIXUP_FDT_MEMORY is the least intrusive way to
fix the issue this close to the release, while the real fix is to
extend the fdt_fixup_memory_banks() to handle multiple memory nodes
in DT.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
configs/r8a7795_salvator-x_defconfig
configs/r8a7795_ulcb_defconfig
configs/r8a7796_salvator-x_defconfig
configs/r8a7796_ulcb_defconfig