blob: 51efab1d2c1a566c0cb01cd24d5da20961a6ff0d [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasut932ef542013-08-31 15:53:45 +02002/*
3 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
Marek Vasut932ef542013-08-31 15:53:45 +02004 */
5#ifndef __CONFIGS_XFI3_H__
6#define __CONFIGS_XFI3_H__
7
Marek Vasut932ef542013-08-31 15:53:45 +02008/* U-Boot Commands */
Marek Vasut932ef542013-08-31 15:53:45 +02009
Marek Vasut932ef542013-08-31 15:53:45 +020010/* Memory configuration */
Marek Vasut932ef542013-08-31 15:53:45 +020011#define PHYS_SDRAM_1 0x40000000 /* Base address */
12#define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
13#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
14
15/* Environment */
Marek Vasut932ef542013-08-31 15:53:45 +020016#define CONFIG_ENV_OVERWRITE
17
18/* Booting Linux */
Marek Vasut932ef542013-08-31 15:53:45 +020019#define CONFIG_BOOTFILE "uImage"
Marek Vasut932ef542013-08-31 15:53:45 +020020#define CONFIG_LOADADDR 0x42000000
21#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
22
23/* LCD */
24#ifdef CONFIG_VIDEO
25#define CONFIG_VIDEO_FONT_4X6
26#define CONFIG_VIDEO_MXS_MODE_SYSTEM
27#define CONFIG_SYS_BLACK_IN_WRITE
28#define LCD_BPP LCD_COLOR16
29#endif
30
31/* USB */
32#ifdef CONFIG_CMD_USB
33#define CONFIG_EHCI_MXS_PORT0
34#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
35
Marek Vasut932ef542013-08-31 15:53:45 +020036#define CONFIG_NETCONSOLE
37#endif
38
39/* The rest of the configuration is shared */
40#include <configs/mxs.h>
41
42#endif /* __CONFIGS_XFI3_H__ */