diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-27 12:09:01 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-27 12:09:01 +0200 |
commit | d7034dbb8c1ad11fafebd77a4fa4625739746706 (patch) | |
tree | a7e38a5a4372e9fea7894ebde44ed6acf4941af4 /arch/blackfin/lib | |
parent | e35ccd2f9c133c4eb1af75f35eb52e2927acb33a (diff) | |
download | barebox-d7034dbb8c1ad11fafebd77a4fa4625739746706.tar.gz barebox-d7034dbb8c1ad11fafebd77a4fa4625739746706.tar.xz |
ups. mixed up start and end in blackfin_mem_malloc_init
Diffstat (limited to 'arch/blackfin/lib')
-rw-r--r-- | arch/blackfin/lib/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index df64aadfc8..37b266234b 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -36,8 +36,8 @@ int blackfin_mem_malloc_init(void) { - mem_malloc_init((void *)(CONFIG_MALLOC_BASE - CONFIG_MALLOC_LEN), - (void *)CONFIG_MALLOC_BASE); + mem_malloc_init((void *)(CONFIG_MALLOC_BASE), + (void *)(CONFIG_MALLOC_BASE + CONFIG_MALLOC_LEN)); return 0; } |