]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/xfi3.h
e291ff72025736376e9fc1f154c33e2ca3b387c1
[people/ms/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 #define CONFIG_VIDEO
17
18 /* Memory configuration */
19 #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
20 #define PHYS_SDRAM_1 0x40000000 /* Base address */
21 #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
22 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
23
24 /* Environment */
25 #define CONFIG_ENV_SIZE (16 * 1024)
26 #define CONFIG_ENV_IS_NOWHERE
27 #define CONFIG_ENV_OVERWRITE
28
29 /* Booting Linux */
30 #define CONFIG_BOOTFILE "uImage"
31 #define CONFIG_BOOTARGS "console=ttyAMA0,115200n8 "
32 #define CONFIG_LOADADDR 0x42000000
33 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
34
35 /* LCD */
36 #ifdef CONFIG_VIDEO
37 #define CONFIG_VIDEO_FONT_4X6
38 #define CONFIG_VIDEO_MXS_MODE_SYSTEM
39 #define CONFIG_SYS_BLACK_IN_WRITE
40 #define LCD_BPP LCD_COLOR16
41 #endif
42
43 /* USB */
44 #ifdef CONFIG_CMD_USB
45 #define CONFIG_EHCI_MXS_PORT0
46 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
47
48 #define CONFIG_USB_ETHER
49 #define CONFIG_USB_ETH_CDC
50 #define CONFIG_NETCONSOLE
51 #endif
52
53 /* The rest of the configuration is shared */
54 #include <configs/mxs.h>
55
56 #endif /* __CONFIGS_XFI3_H__ */