Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]> --- include/configs/kb9202.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/include/configs/kb9202.h b/include/configs/kb9202.h index 75d9c3b..7dcce83 100644 --- a/include/configs/kb9202.h +++ b/include/configs/kb9202.h @@ -54,10 +54,13 @@ #define CFG_LONGHELP +#ifndef roundup +#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) +#endif /* * Size of malloc() pool */ -#define CFG_MALLOC_LEN (CFG_ENV_SIZE + 128*1024) +#define CFG_MALLOC_LEN (roundup(CFG_ENV_SIZE,4096) + 128*1024) #define CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */ #define CONFIG_BAUDRATE 115200 -- 1.5.4.2 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users