2 * (C) Copyright 2010 DENX Software Engineering
3 * Anatolij Gustschin <agust@denx.de>
5 * Common configuration options for MPC5121 based boards
7 * SPDX-License-Identifier: GPL-2.0+
10 #ifndef __MPC5121_COMMON_H
11 #define __MPC5121_COMMON_H
13 /* Use SRAM for initial stack */
14 #define CONFIG_SYS_INIT_RAM_ADDR CONFIG_SYS_SRAM_BASE /* Init RAM base */
15 #define CONFIG_SYS_INIT_RAM_SIZE CONFIG_SYS_SRAM_SIZE /* Size of area */
17 #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \
18 GENERATED_GBL_DATA_SIZE)
19 #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_GBL_DATA_OFFSET - 0x4)
21 #define CONFIG_SYS_MEMTEST_START 0x00200000 /* memtest region */
22 #define CONFIG_SYS_MEMTEST_END 0x00400000
27 #define CONFIG_BAUDRATE 115200
28 #define CONFIG_SYS_BAUDRATE_TABLE \
29 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
31 #define CONFIG_CMDLINE_EDITING 1 /* command line history */
33 #endif /* __MPC5121_COMMON_H */