X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fkb9202.h;h=7dcce836eb78bf0e466406e12f3b949f5a7fd30f;hb=1a247ba7fa5fb09f56892a09a990f03ce564b3e2;hp=75d9c3b3b46ef52a2c16084c195ead5909162361;hpb=93f798346033a1f6d22090b47abad4be88243b04;p=platform%2Fkernel%2Fu-boot.git 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