summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-26 02:53:43 +0000
committerTom Rini <trini@ti.com>2013-05-01 11:17:21 -0400
commita733b06b69d2cb058c4363952bc0793b1f514305 (patch)
treefad133d79d212e9686b69bef9a0f6dc9b8e1196f /include
parent781adb5710694601e8ceb01256becea142c5ba6c (diff)
downloadu-boot-imx-a733b06b69d2cb058c4363952bc0793b1f514305.zip
u-boot-imx-a733b06b69d2cb058c4363952bc0793b1f514305.tar.gz
u-boot-imx-a733b06b69d2cb058c4363952bc0793b1f514305.tar.bz2
sandbox: Switch over to generic board
Add generic board support for sandbox. and remove the old board init code. Select CONFIG_SYS_GENERIC_BOARD for sandbox now that this is supported. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/sections.h2
-rw-r--r--include/configs/sandbox.h7
2 files changed, 5 insertions, 4 deletions
diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h
index cca1edb..4b39844 100644
--- a/include/asm-generic/sections.h
+++ b/include/asm-generic/sections.h
@@ -29,7 +29,7 @@ extern char _data[], _sdata[], _edata[];
extern char __bss_start[], __bss_stop[];
extern char __init_begin[], __init_end[];
extern char _sinittext[], _einittext[];
-extern char _end[];
+extern char _end[], _init[];
extern char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[];
extern char __kprobes_text_start[], __kprobes_text_end[];
extern char __entry_text_start[], __entry_text_end[];
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 406da43..da7cc9a 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -22,9 +22,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#define CONFIG_NR_DRAM_BANKS 1
-#define CONFIG_DRAM_SIZE (128 << 20)
-
/* Number of bits in a C 'long' on this architecture */
#define CONFIG_SANDBOX_BITS_PER_LONG 64
@@ -76,7 +73,11 @@
#define CONFIG_PHYS_64BIT
/* Size of our emulated memory */
+#define CONFIG_SYS_SDRAM_BASE 0
#define CONFIG_SYS_SDRAM_SIZE (128 << 20)
+#define CONFIG_SYS_TEXT_BASE 0
+#define CONFIG_SYS_MONITOR_BASE 0
+#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\