]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/mpc5121-common.h
Merge branch 'u-boot/master'
[karo-tx-uboot.git] / include / configs / mpc5121-common.h
1 /*
2  * (C) Copyright 2010 DENX Software Engineering
3  * Anatolij Gustschin <agust@denx.de>
4  *
5  * Common configuration options for MPC5121 based boards
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #ifndef __MPC5121_COMMON_H
11 #define __MPC5121_COMMON_H
12
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 */
16
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)
20
21 #define CONFIG_SYS_MEMTEST_START        0x00200000      /* memtest region */
22 #define CONFIG_SYS_MEMTEST_END          0x00400000
23
24 /*
25  * Serial console
26  */
27 #define CONFIG_BAUDRATE         115200
28 #define CONFIG_SYS_BAUDRATE_TABLE \
29         {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
30
31 #define CONFIG_CMDLINE_EDITING          1       /* command line history */
32 /* Use the HUSH parser */
33 #define CONFIG_SYS_HUSH_PARSER
34
35 #endif /* __MPC5121_COMMON_H */