]> git.sur5r.net Git - u-boot/commit
common/fdt_support.c: avoid unintended return from fdt_fixup_memory_banks()
authorMiao Yan <miao.yan@windriver.com>
Thu, 28 Nov 2013 09:51:39 +0000 (17:51 +0800)
committerTom Rini <trini@ti.com>
Mon, 16 Dec 2013 13:59:42 +0000 (08:59 -0500)
commit35940de1a6648c5adbb89d8f64ba9513bae5e063
tree442c63ca9a4e98a235d146cc558383b98e6434c6
parent871a57bb817a7f4129d924d72f308228180c49ef
common/fdt_support.c: avoid unintended return from fdt_fixup_memory_banks()

fdt_fixup_memory_banks() will add and update /memory node in
device tree blob. In the case that /memory node doesn't exist,
after adding a new one, this function returns error.

The correct behavior should be continuing to update its properties.

Signed-off-by: Miao Yan <miao.yan@windriver.com>
common/fdt_support.c