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

ARM: kirkwood: Enforce size limit for guruplug


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 84035fcc
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,11 @@ ...@@ -39,6 +39,11 @@
*/ */
#define CONFIG_ENV_SIZE 0x20000 /* 128k */ #define CONFIG_ENV_SIZE 0x20000 /* 128k */
#define CONFIG_ENV_OFFSET 0xE0000 /* env starts here */ #define CONFIG_ENV_OFFSET 0xE0000 /* 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