diff options
author | Alison Wang <alison.wang@nxp.com> | 2020-02-03 15:25:19 +0800 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-03-30 08:06:51 +0530 |
commit | c463eeb4b61308a3998726a3d063019184d1ab3e (patch) | |
tree | 8ec6b176fdd05d28f7f841e56df4c8d04747842c /include/configs/ls1021atsn.h | |
parent | 350c44dfb99017e9147ee07d37a40626bde62250 (diff) | |
download | u-boot-c463eeb4b61308a3998726a3d063019184d1ab3e.tar.gz u-boot-c463eeb4b61308a3998726a3d063019184d1ab3e.tar.bz2 u-boot-c463eeb4b61308a3998726a3d063019184d1ab3e.zip |
ls1021a: Set CONFIG_SYS_BOOTMAPSZ to the memory for relocation
This patch sets CONFIG_SYS_BOOTMAPSZ to the amount of memory available
to safely contain a kernel, device tree and initrd for relocation. The
way to set fdt_high as 0xffffffff to disable device tree relocation is
removed.
Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/ls1021atsn.h')
-rw-r--r-- | include/configs/ls1021atsn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/ls1021atsn.h b/include/configs/ls1021atsn.h index 984df6249f..46c60aaf5c 100644 --- a/include/configs/ls1021atsn.h +++ b/include/configs/ls1021atsn.h @@ -154,7 +154,6 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \ "initrd_high=0xffffffff\0" \ - "fdt_high=0xffffffff\0" \ "fdt_addr=0x64f00000\0" \ "kernel_addr=0x61000000\0" \ "kernelheader_addr=0x60800000\0" \ @@ -216,6 +215,8 @@ "bootm $load_addr#$board\0" /* Miscellaneous configurable options */ +#define CONFIG_SYS_BOOTMAPSZ (256 << 20) + #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ #define CONFIG_SYS_PBSIZE \ (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) |