common: bootm: add lmb reserve for fdt
this avoids fdt being overriden when ramdisk relocation if
fdt is too close to lmb allocable high memory region.
fixes: 5af94f7887
(android: get fdt by suitable ways)
Change-Id: Iadd5854269d0832b0c0455c8423b9d4172768ce3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
9983001913
commit
2efa632c45
|
|
@ -252,6 +252,7 @@ int bootm_find_images(int flag, int argc, char * const argv[])
|
|||
return 1;
|
||||
}
|
||||
set_working_fdt_addr((ulong)images.ft_addr);
|
||||
lmb_reserve(&images.lmb, (ulong)images.ft_addr, (ulong)images.ft_len);
|
||||
#endif
|
||||
|
||||
#if IMAGE_ENABLE_FIT
|
||||
|
|
|
|||
Loading…
Reference in New Issue