summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-02-26 13:18:47 +0100
committerTom Rini <trini@konsulko.com>2016-02-29 14:49:37 -0500
commit23a004a63f617d565a9f714873fe60f31c9c548b (patch)
tree6c642618dc5e10703b66b6eb6465c39fcc5ab03f /include
parentba10b852fe3a5d6188dfa43cced4bfbaf3515df1 (diff)
downloadu-boot-imx-23a004a63f617d565a9f714873fe60f31c9c548b.zip
u-boot-imx-23a004a63f617d565a9f714873fe60f31c9c548b.tar.gz
u-boot-imx-23a004a63f617d565a9f714873fe60f31c9c548b.tar.bz2
sniper: Various minor cleanups, missing Kconfig configs and reorganisation
This introduces some minor cleanups, regarding aspects such as board name, code and headers organization as well as deprecated and missing config options. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sniper.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/configs/sniper.h b/include/configs/sniper.h
index 4152ecd..171a8c4 100644
--- a/include/configs/sniper.h
+++ b/include/configs/sniper.h
@@ -61,11 +61,8 @@
*/
#define CONFIG_SYS_TEXT_BASE 0x80100000
-#define CONFIG_SYS_SDRAM_BASE OMAP34XX_SDRC_CS0
-#define CONFIG_SYS_INIT_RAM_ADDR 0x4020F800
-#define CONFIG_SYS_INIT_RAM_SIZE 0x800
-#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
- CONFIG_SYS_INIT_RAM_SIZE - \
+#define CONFIG_SYS_SDRAM_BASE 0x80000000
+#define CONFIG_SYS_INIT_SP_ADDR (NON_SECURE_SRAM_END - \
GENERATED_GBL_DATA_SIZE)
#define CONFIG_SYS_MALLOC_LEN (1024 * 1024 + CONFIG_ENV_SIZE)
@@ -103,8 +100,8 @@
* MMC
*/
-#define CONFIG_GENERIC_MMC
#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
#define CONFIG_CMD_MMC
@@ -183,7 +180,6 @@
* Serial
*/
-
#ifdef CONFIG_SPL_BUILD
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
@@ -192,7 +188,6 @@
#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3
#define CONFIG_CONS_INDEX 3
-#define CONFIG_SERIAL3 3
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_BAUDRATE_TABLE { 4800, 9600, 19200, 38400, 57600, \