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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/sbc8240.h b/include/configs/sbc8240.h
index 0934a00..5993be6 100644
--- a/include/configs/sbc8240.h
+++ b/include/configs/sbc8240.h
@@ -201,11 +201,10 @@ typedef unsigned int led_id_t;
/* Size in bytes reserved for initial data
*/
-#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 - GENERATED_GBL_DATA_SIZE)
/*
* NS16550 Configuration