ae9ab71b7a6eadaaaed7a22f7c27169e734b79a0
[oweals/u-boot.git] / include / configs / xfi3.h
1 /*
2  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6 #ifndef __CONFIGS_XFI3_H__
7 #define __CONFIGS_XFI3_H__
8
9 /* System configurations */
10 #define CONFIG_MX23                             /* i.MX23 SoC */
11
12 /* U-Boot Commands */
13 #define CONFIG_SYS_NO_FLASH
14 #define CONFIG_DOS_PARTITION
15
16 /* Memory configuration */
17 #define CONFIG_NR_DRAM_BANKS            1               /* 1 bank of DRAM */
18 #define PHYS_SDRAM_1                    0x40000000      /* Base address */
19 #define PHYS_SDRAM_1_SIZE               0x08000000      /* Max 128 MB RAM */
20 #define CONFIG_SYS_SDRAM_BASE           PHYS_SDRAM_1
21
22 /* Environment */
23 #define CONFIG_ENV_SIZE                 (16 * 1024)
24 #define CONFIG_ENV_IS_NOWHERE
25 #define CONFIG_ENV_OVERWRITE
26
27 /* Booting Linux */
28 #define CONFIG_BOOTFILE         "uImage"
29 #define CONFIG_BOOTARGS         "console=ttyAMA0,115200n8 "
30 #define CONFIG_LOADADDR         0x42000000
31 #define CONFIG_SYS_LOAD_ADDR    CONFIG_LOADADDR
32
33 /* LCD */
34 #ifdef CONFIG_VIDEO
35 #define CONFIG_VIDEO_FONT_4X6
36 #define CONFIG_VIDEO_MXS_MODE_SYSTEM
37 #define CONFIG_SYS_BLACK_IN_WRITE
38 #define LCD_BPP LCD_COLOR16
39 #endif
40
41 /* USB */
42 #ifdef CONFIG_CMD_USB
43 #define CONFIG_EHCI_MXS_PORT0
44 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
45
46 #define CONFIG_USB_ETHER
47 #define CONFIG_USB_ETH_CDC
48 #define CONFIG_NETCONSOLE
49 #endif
50
51 /* The rest of the configuration is shared */
52 #include <configs/mxs.h>
53
54 #endif  /* __CONFIGS_XFI3_H__ */