From 23a004a63f617d565a9f714873fe60f31c9c548b Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Fri, 26 Feb 2016 13:18:47 +0100 Subject: 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 Reviewed-by: Tom Rini --- include/configs/sniper.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/configs/sniper.h b/include/configs/sniper.h index 4152ecde26..171a8c4ced 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, \ -- cgit v1.2.1