mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 05:02:26 -04:00
kb9202 board: fix build problem.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
6adf61dc4c
commit
b83dcc13ae
@ -54,10 +54,13 @@
|
|||||||
|
|
||||||
#define CFG_LONGHELP
|
#define CFG_LONGHELP
|
||||||
|
|
||||||
|
#ifndef roundup
|
||||||
|
#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* Size of malloc() pool
|
* 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 CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
|
||||||
|
|
||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
|
Loading…
x
Reference in New Issue
Block a user