blob: ddbb5a27e0732a50b9616b480520bd497f784432 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasut2988ab22013-08-31 15:53:46 +02002/*
3 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
Marek Vasut2988ab22013-08-31 15:53:46 +02004 */
5#ifndef __CONFIGS_SANSA_FUZE_PLUS_H__
6#define __CONFIGS_SANSA_FUZE_PLUS_H__
7
Marek Vasut2988ab22013-08-31 15:53:46 +02008/* U-Boot Commands */
Marek Vasut2988ab22013-08-31 15:53:46 +02009
Marek Vasut2988ab22013-08-31 15:53:46 +020010/* Memory configuration */
11#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
12#define PHYS_SDRAM_1 0x40000000 /* Base address */
13#define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
14#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
15
16/* Environment */
17#define CONFIG_ENV_SIZE (16 * 1024)
Marek Vasut2988ab22013-08-31 15:53:46 +020018#define CONFIG_ENV_OVERWRITE
19
20/* Booting Linux */
Marek Vasut2988ab22013-08-31 15:53:46 +020021#define CONFIG_BOOTFILE "uImage"
Marek Vasut2988ab22013-08-31 15:53:46 +020022#define CONFIG_LOADADDR 0x42000000
23#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
24
25/* LCD */
26#ifdef CONFIG_VIDEO
27#define CONFIG_VIDEO_FONT_4X6
28#define CONFIG_VIDEO_MXS_MODE_SYSTEM
29#define CONFIG_SYS_BLACK_IN_WRITE
30#define LCD_BPP LCD_COLOR16
31#endif
32
33/* USB */
34#ifdef CONFIG_CMD_USB
35#define CONFIG_EHCI_MXS_PORT0
36#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
37
Marek Vasut2988ab22013-08-31 15:53:46 +020038#define CONFIG_NETCONSOLE
39#endif
40
41/* The rest of the configuration is shared */
42#include <configs/mxs.h>
43
44#endif /* __CONFIGS_SANSA_FUZE_PLUS_H__ */