mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
ARM: kirkwood: Enforce size limit for sheevaplug
The u-boot binary sits in flash immediately before the environment. Don't allow the binary size to grow into the environment space. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
3789b3dd15
commit
84035fccbe
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@
|
|||
#define CONFIG_ENV_SIZE 0x20000 /* 128k */
|
||||
#define CONFIG_ENV_ADDR 0x80000
|
||||
#define CONFIG_ENV_OFFSET 0x80000 /* env starts here */
|
||||
/*
|
||||
* Environment is right behind U-Boot in flash. Make sure U-Boot
|
||||
* doesn't grow into the environment area.
|
||||
*/
|
||||
#define CONFIG_BOARD_SIZE_LIMIT CONFIG_ENV_OFFSET
|
||||
|
||||
/*
|
||||
* Default environment variables
|
||||
|
|
Loading…
Add table
Reference in a new issue