summaryrefslogtreecommitdiff
path: root/include/configs/sbc8240.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/sbc8240.h')
-rw-r--r--include/configs/sbc8240.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/sbc8240.h b/include/configs/sbc8240.h
index 0934a002bfd..f6a32d77c76 100644
--- a/include/configs/sbc8240.h
+++ b/include/configs/sbc8240.h
@@ -204,8 +204,8 @@ typedef unsigned int led_id_t;
#define CONFIG_SYS_GBL_DATA_SIZE 128
#define CONFIG_SYS_INIT_RAM_ADDR 0x40000000
-#define CONFIG_SYS_INIT_RAM_END 0x1000
-#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_SIZE 0x1000
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - CONFIG_SYS_GBL_DATA_SIZE)
/*
* NS16550 Configuration