Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 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 | |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 9 | /* U-Boot Commands */ |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 10 | |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 11 | /* Memory configuration */ |
| 12 | #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ |
| 13 | #define PHYS_SDRAM_1 0x40000000 /* Base address */ |
| 14 | #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */ |
| 15 | #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 |
| 16 | |
| 17 | /* Environment */ |
| 18 | #define CONFIG_ENV_SIZE (16 * 1024) |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 19 | #define CONFIG_ENV_OVERWRITE |
| 20 | |
| 21 | /* Booting Linux */ |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 22 | #define CONFIG_BOOTFILE "uImage" |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 23 | #define CONFIG_LOADADDR 0x42000000 |
| 24 | #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR |
| 25 | |
| 26 | /* LCD */ |
| 27 | #ifdef CONFIG_VIDEO |
| 28 | #define CONFIG_VIDEO_FONT_4X6 |
| 29 | #define CONFIG_VIDEO_MXS_MODE_SYSTEM |
| 30 | #define CONFIG_SYS_BLACK_IN_WRITE |
| 31 | #define LCD_BPP LCD_COLOR16 |
| 32 | #endif |
| 33 | |
| 34 | /* USB */ |
| 35 | #ifdef CONFIG_CMD_USB |
| 36 | #define CONFIG_EHCI_MXS_PORT0 |
| 37 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
| 38 | |
Marek Vasut | 932ef54 | 2013-08-31 15:53:45 +0200 | [diff] [blame] | 39 | #define CONFIG_NETCONSOLE |
| 40 | #endif |
| 41 | |
| 42 | /* The rest of the configuration is shared */ |
| 43 | #include <configs/mxs.h> |
| 44 | |
| 45 | #endif /* __CONFIGS_XFI3_H__ */ |