Commit 330d3552 authored by Vladimir Khusainov's avatar Vladimir Khusainov
Browse files

RT80804 Changes to cpu/arm_cortexm3/config.mk to get rid of a mandatory

definition of CONFIG_MEM_NVM_UBOOT_OFF for those U-boot configuraitons
that do not require that macro.
parent fcfb98ba
......@@ -23,6 +23,7 @@
PLATFORM_CPPFLAGS += -DCONFIG_MEM_NVM_BASE=$(CONFIG_MEM_NVM_BASE)
PLATFORM_CPPFLAGS += -DCONFIG_MEM_NVM_LEN=$(CONFIG_MEM_NVM_LEN)
PLATFORM_CPPFLAGS += -DCONFIG_MEM_NVM_UBOOT_OFF=$(CONFIG_MEM_NVM_UBOOT_OFF)
PLATFORM_CPPFLAGS += -DCONFIG_MEM_NVM_UBOOT_OFF=$(if $(CONFIG_MEM_NVM_UBOOT_OFF),$(CONFIG_MEM_NVM_UBOOT_OFF),0x0)
PLATFORM_CPPFLAGS += -DCONFIG_MEM_RAM_BASE=$(CONFIG_MEM_RAM_BASE)
PLATFORM_CPPFLAGS += -DCONFIG_MEM_RAM_LEN=$(CONFIG_MEM_RAM_LEN)
PLATFORM_CPPFLAGS += -DCONFIG_MEM_RAM_BUF_LEN=$(CONFIG_MEM_RAM_BUF_LEN)
......
......@@ -105,7 +105,6 @@
#else
# define CONFIG_MEM_NVM_LEN (256 * 1024)
#endif
#define CONFIG_MEM_NVM_UBOOT_OFF 0x0
#define CONFIG_MEM_RAM_BASE 0x20000000
#define CONFIG_MEM_RAM_LEN (16 * 1024)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment