riscv: Do not return error if reserved node already exists
authorAtish Patra <atish.patra@wdc.com>
Wed, 24 Jun 2020 21:56:14 +0000 (14:56 -0700)
committerAndes <uboot@andestech.com>
Fri, 3 Jul 2020 07:09:00 +0000 (15:09 +0800)
commit7eb4bcc3f49c4eb7b494766163a78909f2c1f379
treefef74f0d18ae1220d57ece5c3407fcc44e14e731
parentba51269f75e99024b8e3c904b0964f3dcb3cd629
riscv: Do not return error if reserved node already exists

Not all errors are fatal. If a reserved memory node already exists in the
destination device tree, we can continue to boot without failing.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
arch/riscv/lib/fdt_fixup.c