]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/sansa_fuze_plus.h
configs: Re-sync almost all of cmd/Kconfig
[people/ms/u-boot.git] / include / configs / sansa_fuze_plus.h
1 /*
2 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6 #ifndef __CONFIGS_SANSA_FUZE_PLUS_H__
7 #define __CONFIGS_SANSA_FUZE_PLUS_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_DISPLAY_CPUINFO
15 #define CONFIG_DOS_PARTITION
16
17 #define CONFIG_CMD_CACHE
18 #define CONFIG_CMD_EXT2
19 #define CONFIG_CMD_FAT
20 #define CONFIG_CMD_MMC
21 #define CONFIG_VIDEO
22
23 /* Memory configuration */
24 #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
25 #define PHYS_SDRAM_1 0x40000000 /* Base address */
26 #define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
27 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
28
29 /* Environment */
30 #define CONFIG_ENV_SIZE (16 * 1024)
31 #define CONFIG_ENV_IS_NOWHERE
32 #define CONFIG_ENV_OVERWRITE
33
34 /* Booting Linux */
35 #define CONFIG_BOOTDELAY 3
36 #define CONFIG_BOOTFILE "uImage"
37 #define CONFIG_BOOTARGS "console=ttyAMA0,115200n8 "
38 #define CONFIG_LOADADDR 0x42000000
39 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
40
41 /* LCD */
42 #ifdef CONFIG_VIDEO
43 #define CONFIG_VIDEO_FONT_4X6
44 #define CONFIG_VIDEO_MXS_MODE_SYSTEM
45 #define CONFIG_SYS_BLACK_IN_WRITE
46 #define LCD_BPP LCD_COLOR16
47 #endif
48
49 /* USB */
50 #ifdef CONFIG_CMD_USB
51 #define CONFIG_EHCI_MXS_PORT0
52 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
53
54 #define CONFIG_USB_ETHER
55 #define CONFIG_USB_ETH_CDC
56 #define CONFIG_NETCONSOLE
57 #endif
58
59 /* The rest of the configuration is shared */
60 #include <configs/mxs.h>
61
62 #endif /* __CONFIGS_SANSA_FUZE_PLUS_H__ */