nios2: Kconfig: remove some unused config options
We get these out of system.h instead. A clause in libc-hooks.c for newlib added since we don't get RAM size from CONFIG_SRAM_BASE_ADDRESS. Change-Id: Ic35113395b951f625e8e29658afe19c525037964 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
c6d560d198
commit
00365c188c
2 changed files with 4 additions and 40 deletions
|
@ -24,6 +24,10 @@
|
|||
#if CONFIG_X86
|
||||
#define USED_RAM_SIZE (USED_RAM_END_ADDR - CONFIG_PHYS_RAM_ADDR)
|
||||
#define MAX_HEAP_SIZE ((KB(CONFIG_RAM_SIZE)) - USED_RAM_SIZE)
|
||||
#elif CONFIG_NIOS2
|
||||
#include <layout.h>
|
||||
#define USED_RAM_SIZE (USED_RAM_END_ADDR - _RAM_ADDR)
|
||||
#define MAX_HEAP_SIZE (_RAM_SIZE - USED_RAM_SIZE)
|
||||
#else
|
||||
#define USED_RAM_SIZE (USED_RAM_END_ADDR - CONFIG_SRAM_BASE_ADDRESS)
|
||||
#define MAX_HEAP_SIZE ((KB(CONFIG_SRAM_SIZE)) - USED_RAM_SIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue