]> git.baikalelectronics.ru Git - uboot.git/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)
commit1bf338c3561ee4e4699c725f7ce1434feef6f4bf
tree14c65acc90e95ce705e40a64f080be93de811d34
parentde4dbfdd61368323e7971ef9ff1d2e6d13e3f347
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