blob: 345e6d6db4d206742e5d3409b919748fc7767ae3 [file] [log] [blame]
Marek Vasutd64ff0d2011-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 Denkbd8ec7e2013-10-07 13:07:26 +02006 * SPDX-License-Identifier: GPL-2.0+
Marek Vasutd64ff0d2011-11-26 11:27:30 +01007 */
8
9#ifndef __CONFIG_PXA_COMMON_H__
10#define __CONFIG_PXA_COMMON_H__
11
Vasily Khoruzhickb1670092016-03-20 18:37:07 -070012#define CONFIG_SYS_ARM_CACHE_WRITETHROUGH
Marek Vasutd64ff0d2011-11-26 11:27:30 +010013
14/*
15 * KGDB
16 */
17#ifdef CONFIG_CMD_KGDB
18#define CONFIG_KGDB_BAUDRATE 230400
Marek Vasutd64ff0d2011-11-26 11:27:30 +010019#endif
20
21/*
22 * MMC Card Configuration
23 */
24#ifdef CONFIG_CMD_MMC
Marek Vasutd64ff0d2011-11-26 11:27:30 +010025#define CONFIG_PXA_MMC_GENERIC
Marek Vasutd64ff0d2011-11-26 11:27:30 +010026#endif
27
28/*
29 * OHCI USB
30 */
31#ifdef CONFIG_CMD_USB
32#define CONFIG_USB_OHCI_NEW
33#define CONFIG_SYS_USB_OHCI_CPU_INIT
34#define CONFIG_SYS_USB_OHCI_BOARD_INIT
Vasily Khoruzhick8d840cf2016-03-20 18:37:04 -070035#ifdef CONFIG_CPU_PXA27X
36#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
37#else
Marek Vasutd64ff0d2011-11-26 11:27:30 +010038#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
Vasily Khoruzhick8d840cf2016-03-20 18:37:04 -070039#endif
Marek Vasutd64ff0d2011-11-26 11:27:30 +010040#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000
41#define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
Marek Vasutd64ff0d2011-11-26 11:27:30 +010042#endif
43
44#endif /* __CONFIG_PXA_COMMON_H__ */