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 #include <config_cmd_default.h>
15 #define CONFIG_DISPLAY_CPUINFO
16 #define CONFIG_DOS_PARTITION
17 
18 #define CONFIG_CMD_CACHE
19 #define CONFIG_CMD_EXT2
20 #define CONFIG_CMD_FAT
21 #define CONFIG_CMD_GPIO
22 #define CONFIG_CMD_MMC
23 #define CONFIG_CMD_PING
24 #define CONFIG_CMD_USB
25 #define CONFIG_VIDEO
26 #define CONFIG_CMD_MEMTEST
27 
28 /* Memory configuration */
29 #define CONFIG_NR_DRAM_BANKS		1		/* 1 bank of DRAM */
30 #define PHYS_SDRAM_1			0x40000000	/* Base address */
31 #define PHYS_SDRAM_1_SIZE		0x08000000	/* Max 128 MB RAM */
32 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
33 
34 /* Environment */
35 #define CONFIG_ENV_SIZE			(16 * 1024)
36 #define CONFIG_ENV_IS_NOWHERE
37 #define CONFIG_ENV_OVERWRITE
38 
39 /* Booting Linux */
40 #define CONFIG_BOOTDELAY	3
41 #define CONFIG_BOOTFILE		"uImage"
42 #define CONFIG_BOOTARGS		"console=ttyAMA0,115200n8 "
43 #define CONFIG_LOADADDR		0x42000000
44 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
45 
46 /* LCD */
47 #ifdef CONFIG_VIDEO
48 #define CONFIG_VIDEO_FONT_4X6
49 #define CONFIG_VIDEO_MXS_MODE_SYSTEM
50 #define CONFIG_SYS_BLACK_IN_WRITE
51 #define LCD_BPP	LCD_COLOR16
52 #endif
53 
54 /* USB */
55 #ifdef CONFIG_CMD_USB
56 #define CONFIG_EHCI_MXS_PORT0
57 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
58 
59 #define CONFIG_MV_UDC		/* ChipIdea CI13xxx UDC */
60 #define CONFIG_USB_GADGET_DUALSPEED
61 
62 #define CONFIG_USB_ETHER
63 #define CONFIG_USB_ETH_CDC
64 #define CONFIG_NETCONSOLE
65 #endif
66 
67 /* The rest of the configuration is shared */
68 #include <configs/mxs.h>
69 
70 #endif	/* __CONFIGS_SANSA_FUZE_PLUS_H__ */
71