allwinner/a10: Always has DYNAMIC_CBMEM
The static allocator only worked for x86 anyway. Change-Id: Iadaab225fea04b455c559c25b918a2a842b9faca Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8029 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
6d8228599b
commit
22261c387e
|
@ -13,6 +13,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||||
select HAVE_UART_SPECIAL
|
select HAVE_UART_SPECIAL
|
||||||
select BOOTBLOCK_CONSOLE
|
select BOOTBLOCK_CONSOLE
|
||||||
select CPU_HAS_BOOTBLOCK_INIT
|
select CPU_HAS_BOOTBLOCK_INIT
|
||||||
|
select DYNAMIC_CBMEM
|
||||||
|
|
||||||
# The "eGON.BT0" header takes 32 bytes
|
# The "eGON.BT0" header takes 32 bytes
|
||||||
config BOOTBLOCK_BASE
|
config BOOTBLOCK_BASE
|
||||||
|
|
|
@ -8,11 +8,7 @@
|
||||||
#include "ram_segs.h"
|
#include "ram_segs.h"
|
||||||
#include <cbmem.h>
|
#include <cbmem.h>
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_DYNAMIC_CBMEM)
|
|
||||||
|
|
||||||
void *cbmem_top(void)
|
void *cbmem_top(void)
|
||||||
{
|
{
|
||||||
return a1x_get_cbmem_top();
|
return a1x_get_cbmem_top();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue