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