diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-17 19:36:23 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-06 11:41:27 +0100 |
commit | 04bd477ee42687075e13dabb6c11f90a685a5450 (patch) | |
tree | 4faab44d91f65d42e1f8028e71d6011d3edaca76 /arch/arm/lib/bootm.c | |
parent | b50c00a61dd240db7b882e6fe848d1835797f3cb (diff) | |
download | barebox-04bd477ee42687075e13dabb6c11f90a685a5450.tar.gz barebox-04bd477ee42687075e13dabb6c11f90a685a5450.tar.xz |
ARM bootm: Use of_get_fixed_tree
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/bootm.c')
-rw-r--r-- | arch/arm/lib/bootm.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index dc29004792..cf192cf026 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -181,13 +181,7 @@ static int do_bootz_linux_fdt(int fd, struct image_data *data) } if (IS_BUILTIN(CONFIG_OFTREE)) { - fdt_open_into(oftree, oftree, end + 0x8000); - - ret = of_fix_tree(oftree); - if (ret) - return ret; - - data->oftree = oftree; + data->oftree = of_get_fixed_tree(oftree); } pr_info("zImage: concatenated oftree detected\n"); |