ups. mixed up start and end in blackfin_mem_malloc_init
This commit is contained in:
parent
e35ccd2f9c
commit
d7034dbb8c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue