From c74dda8b44622266feac7a0080a4302dbec052f5 Mon Sep 17 00:00:00 2001 From: Angelo Dureghello Date: Sun, 14 May 2017 21:42:27 +0200 Subject: m68k: mcf5445x: move early ddr init as board-specific For certain boot types and sbf, for V4 cpu's, an early ddr/sdram init is required. This patch moves this ddr/sdram early initalization away from start.S (to be board related). Signed-off-by: Angelo Dureghello --- include/configs/M54418TWR.h | 2 ++ include/configs/M54451EVB.h | 2 ++ include/configs/M54455EVB.h | 2 ++ 3 files changed, 6 insertions(+) (limited to 'include/configs') diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h index 6822b4c6d3e..66a17f25401 100644 --- a/include/configs/M54418TWR.h +++ b/include/configs/M54418TWR.h @@ -24,6 +24,8 @@ #define CONFIG_SYS_UART_PORT (0) #define CONFIG_SYS_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 } +#define LDS_BOARD_TEXT board/freescale/m54418twr/sbf_dram_init.o (.text*) + #undef CONFIG_WATCHDOG #define CONFIG_TIMESTAMP /* Print image info with timestamp */ diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h index f6d92512bef..6d55bdd38b4 100644 --- a/include/configs/M54451EVB.h +++ b/include/configs/M54451EVB.h @@ -23,6 +23,8 @@ #define CONFIG_MCFUART #define CONFIG_SYS_UART_PORT (0) +#define LDS_BOARD_TEXT board/freescale/m54451evb/sbf_dram_init.o (.text*) + #undef CONFIG_WATCHDOG #define CONFIG_TIMESTAMP /* Print image info with timestamp */ diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h index f1acf07db79..8e0056aebb0 100644 --- a/include/configs/M54455EVB.h +++ b/include/configs/M54455EVB.h @@ -23,6 +23,8 @@ #define CONFIG_MCFUART #define CONFIG_SYS_UART_PORT (0) +#define LDS_BOARD_TEXT board/freescale/m54455evb/sbf_dram_init.o (.text*) + #undef CONFIG_WATCHDOG #define CONFIG_TIMESTAMP /* Print image info with timestamp */ -- cgit v1.2.3