Skip to content
Snippets Groups Projects
Commit 84035fcc authored by Chris Packham's avatar Chris Packham Committed by Stefan Roese
Browse files

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: default avatarChris Packham <judge.packham@gmail.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 3789b3dd
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,11 @@ ...@@ -44,6 +44,11 @@
#define CONFIG_ENV_SIZE 0x20000 /* 128k */ #define CONFIG_ENV_SIZE 0x20000 /* 128k */
#define CONFIG_ENV_ADDR 0x80000 #define CONFIG_ENV_ADDR 0x80000
#define CONFIG_ENV_OFFSET 0x80000 /* env starts here */ #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 * Default environment variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment