]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
aa04fef4 MV |
2 | /* |
3 | * Copyright (C) 2013 Marek Vasut <[email protected]> | |
aa04fef4 MV |
4 | */ |
5 | #ifndef __CONFIGS_XFI3_H__ | |
6 | #define __CONFIGS_XFI3_H__ | |
7 | ||
aa04fef4 | 8 | /* U-Boot Commands */ |
aa04fef4 | 9 | |
aa04fef4 | 10 | /* Memory configuration */ |
aa04fef4 MV |
11 | #define PHYS_SDRAM_1 0x40000000 /* Base address */ |
12 | #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */ | |
13 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 | |
14 | ||
15 | /* Environment */ | |
16 | #define CONFIG_ENV_SIZE (16 * 1024) | |
aa04fef4 MV |
17 | #define CONFIG_ENV_OVERWRITE |
18 | ||
19 | /* Booting Linux */ | |
aa04fef4 | 20 | #define CONFIG_BOOTFILE "uImage" |
aa04fef4 MV |
21 | #define CONFIG_LOADADDR 0x42000000 |
22 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR | |
23 | ||
24 | /* LCD */ | |
25 | #ifdef CONFIG_VIDEO | |
26 | #define CONFIG_VIDEO_FONT_4X6 | |
27 | #define CONFIG_VIDEO_MXS_MODE_SYSTEM | |
28 | #define CONFIG_SYS_BLACK_IN_WRITE | |
29 | #define LCD_BPP LCD_COLOR16 | |
30 | #endif | |
31 | ||
32 | /* USB */ | |
33 | #ifdef CONFIG_CMD_USB | |
34 | #define CONFIG_EHCI_MXS_PORT0 | |
35 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 | |
36 | ||
aa04fef4 MV |
37 | #define CONFIG_NETCONSOLE |
38 | #endif | |
39 | ||
40 | /* The rest of the configuration is shared */ | |
41 | #include <configs/mxs.h> | |
42 | ||
43 | #endif /* __CONFIGS_XFI3_H__ */ |