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