blob: 2f77accda21e31f4576ca974967874423d08ded3 [file] [log] [blame]
Marek Vasut932ef542013-08-31 15:53:45 +02001/*
2 * Copyright (C) 2013 Marek Vasut <marex@denx.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6#ifndef __CONFIGS_XFI3_H__
7#define __CONFIGS_XFI3_H__
8
Marek Vasut932ef542013-08-31 15:53:45 +02009/* U-Boot Commands */
Marek Vasut932ef542013-08-31 15:53:45 +020010
Marek Vasut932ef542013-08-31 15:53:45 +020011/* Memory configuration */
12#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
13#define PHYS_SDRAM_1 0x40000000 /* Base address */
14#define PHYS_SDRAM_1_SIZE 0x08000000 /* Max 128 MB RAM */
15#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
16
17/* Environment */
18#define CONFIG_ENV_SIZE (16 * 1024)
Marek Vasut932ef542013-08-31 15:53:45 +020019#define CONFIG_ENV_OVERWRITE
20
21/* Booting Linux */
Marek Vasut932ef542013-08-31 15:53:45 +020022#define CONFIG_BOOTFILE "uImage"
Marek Vasut932ef542013-08-31 15:53:45 +020023#define CONFIG_LOADADDR 0x42000000
24#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
25
26/* LCD */
27#ifdef CONFIG_VIDEO
28#define CONFIG_VIDEO_FONT_4X6
29#define CONFIG_VIDEO_MXS_MODE_SYSTEM
30#define CONFIG_SYS_BLACK_IN_WRITE
31#define LCD_BPP LCD_COLOR16
32#endif
33
34/* USB */
35#ifdef CONFIG_CMD_USB
36#define CONFIG_EHCI_MXS_PORT0
37#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
38
Marek Vasut932ef542013-08-31 15:53:45 +020039#define CONFIG_NETCONSOLE
40#endif
41
42/* The rest of the configuration is shared */
43#include <configs/mxs.h>
44
45#endif /* __CONFIGS_XFI3_H__ */