blob: 375515e1c4669b22001bbda322fd93463ad34921 [file] [log] [blame]
Marek Vasutcd0f3d22011-11-26 11:27:30 +01001/*
2 * Toradex Colibri PXA270 configuration file
3 *
4 * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
5 *
Wolfgang Denk3765b3e2013-10-07 13:07:26 +02006 * SPDX-License-Identifier: GPL-2.0+
Marek Vasutcd0f3d22011-11-26 11:27:30 +01007 */
8
9#ifndef __CONFIG_PXA_COMMON_H__
10#define __CONFIG_PXA_COMMON_H__
11
12#define CONFIG_DISPLAY_CPUINFO
Vasily Khoruzhick9cfc0592016-03-20 18:37:07 -070013#define CONFIG_SYS_ARM_CACHE_WRITETHROUGH
Marek Vasutcd0f3d22011-11-26 11:27:30 +010014
15/*
16 * KGDB
17 */
18#ifdef CONFIG_CMD_KGDB
19#define CONFIG_KGDB_BAUDRATE 230400
Marek Vasutcd0f3d22011-11-26 11:27:30 +010020#endif
21
22/*
23 * MMC Card Configuration
24 */
25#ifdef CONFIG_CMD_MMC
26#define CONFIG_MMC
27#define CONFIG_GENERIC_MMC
28#define CONFIG_PXA_MMC_GENERIC
Marek Vasutcd0f3d22011-11-26 11:27:30 +010029#define CONFIG_DOS_PARTITION
30#endif
31
32/*
33 * OHCI USB
34 */
35#ifdef CONFIG_CMD_USB
36#define CONFIG_USB_OHCI_NEW
37#define CONFIG_SYS_USB_OHCI_CPU_INIT
38#define CONFIG_SYS_USB_OHCI_BOARD_INIT
Vasily Khoruzhick634890b2016-03-20 18:37:04 -070039#ifdef CONFIG_CPU_PXA27X
40#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
41#else
Marek Vasutcd0f3d22011-11-26 11:27:30 +010042#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
Vasily Khoruzhick634890b2016-03-20 18:37:04 -070043#endif
Marek Vasutcd0f3d22011-11-26 11:27:30 +010044#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000
45#define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
46#define CONFIG_USB_STORAGE
47#endif
48
49#endif /* __CONFIG_PXA_COMMON_H__ */