diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-07-03 09:07:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-07-03 09:07:15 +0200 |
commit | 2af6483cbfd4dc57a710744356e8e6bd7c0cd77c (patch) | |
tree | 134779142314155e01ed7ea6c8c23c1d39aea109 /arch/blackfin/lib | |
parent | b403f8d6f35272a96e9499fa77350e4e1a6909e3 (diff) | |
download | barebox-2af6483cbfd4dc57a710744356e8e6bd7c0cd77c.tar.gz barebox-2af6483cbfd4dc57a710744356e8e6bd7c0cd77c.tar.xz |
[blackfin] memory layout related compile fixes
Diffstat (limited to 'arch/blackfin/lib')
-rw-r--r-- | arch/blackfin/lib/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 37b266234b..f8451cdbf8 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -33,11 +33,12 @@ #include <environment.h> #include <mem_malloc.h> #include <asm/cpu.h> +#include <asm-generic/memory_layout.h> int blackfin_mem_malloc_init(void) { - mem_malloc_init((void *)(CONFIG_MALLOC_BASE), - (void *)(CONFIG_MALLOC_BASE + CONFIG_MALLOC_LEN)); + mem_malloc_init((void *)(MALLOC_BASE), + (void *)(MALLOC_BASE + MALLOC_SIZE)); return 0; } |