mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 15:12:04 +00:00
ARM: rmobile: Limit bootloader size to 1 MiB on R-Car Gen3
The HF/QSPI flash layout permits up to 1 MiB large bootloader blob, set CONFIG_BOARD_SIZE_LIMIT to enforce this limit and set the monitor size to match accordingly. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
9e1d65f36b
commit
7ca08e335b
1 changed files with 4 additions and 1 deletions
|
@ -46,10 +46,13 @@
|
|||
#define CONFIG_MAX_MEM_MAPPED (0x80000000u - DRAM_RSV_SIZE)
|
||||
|
||||
#define CONFIG_SYS_MONITOR_BASE 0x00000000
|
||||
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
|
||||
#define CONFIG_SYS_MONITOR_LEN (1 * 1024 * 1024)
|
||||
#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
|
||||
#define CONFIG_SYS_BOOTM_LEN (64 << 20)
|
||||
|
||||
/* The HF/QSPI layout permits up to 1 MiB large bootloader blob */
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 1048576
|
||||
|
||||
/* ENV setting */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
|
|
Loading…
Reference in a new issue