mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
configs: vf610: increase maximum size and enforce correct limit
On Vybrid SoCs U-Boot gets loaded into GFX SRAM which is 512KiB. Currently 32KiB is reserved for the IMX header. However, this is not reflected in the size limit. In v2017.11-rc2 the actual size limit (512KiB-32KiB) has been reached for Colibri VF61, which lead to a successful build of U-Boot but not a working binary. The IMX header is much smaller than 32KiB, typically around 1KiB. Decrease the reserved size to 4KiB and specify the correct U-Boot size limit. Apply this new base address and limit for all Vybrid based boards. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
parent
41b93679fd
commit
c0f432c377
3 changed files with 6 additions and 6 deletions
|
@ -75,8 +75,8 @@
|
|||
#define CONFIG_FDTADDR 0x84000000
|
||||
|
||||
/* We boot from the gfxRAM area of the OCRAM. */
|
||||
#define CONFIG_SYS_TEXT_BASE 0x3f408000
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 524288
|
||||
#define CONFIG_SYS_TEXT_BASE 0x3f401000
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 520192
|
||||
|
||||
#define SD_BOOTCMD \
|
||||
"sdargs=root=/dev/mmcblk0p2 rw rootwait\0" \
|
||||
|
|
|
@ -89,8 +89,8 @@
|
|||
#define CONFIG_LOADADDR 0x82000000
|
||||
|
||||
/* We boot from the gfxRAM area of the OCRAM. */
|
||||
#define CONFIG_SYS_TEXT_BASE 0x3f408000
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 524288
|
||||
#define CONFIG_SYS_TEXT_BASE 0x3f401000
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 520192
|
||||
|
||||
/* if no target-specific extra environment settings were defined by the
|
||||
target, define an empty one */
|
||||
|
|
|
@ -79,8 +79,8 @@
|
|||
#define CONFIG_SYS_LOAD_ADDR 0x82000000
|
||||
|
||||
/* We boot from the gfxRAM area of the OCRAM. */
|
||||
#define CONFIG_SYS_TEXT_BASE 0x3f408000
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 524288
|
||||
#define CONFIG_SYS_TEXT_BASE 0x3f401000
|
||||
#define CONFIG_BOARD_SIZE_LIMIT 520192
|
||||
|
||||
/*
|
||||
* We do have 128MB of memory on the Vybrid Tower board. Leave the last
|
||||
|
|
Loading…
Reference in a new issue