blob: 52d77e06acf46cd250b8df73f4baf1e6fac0aba0 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutcd0f3d22011-11-26 11:27:30 +01002/*
3 * Toradex Colibri PXA270 configuration file
4 *
5 * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
Marek Vasutcd0f3d22011-11-26 11:27:30 +01006 */
7
8#ifndef __CONFIG_PXA_COMMON_H__
9#define __CONFIG_PXA_COMMON_H__
10
Marek Vasutcd0f3d22011-11-26 11:27:30 +010011/*
12 * KGDB
13 */
14#ifdef CONFIG_CMD_KGDB
15#define CONFIG_KGDB_BAUDRATE 230400
Marek Vasutcd0f3d22011-11-26 11:27:30 +010016#endif
17
18/*
Marek Vasutcd0f3d22011-11-26 11:27:30 +010019 * OHCI USB
20 */
21#ifdef CONFIG_CMD_USB
22#define CONFIG_USB_OHCI_NEW
23#define CONFIG_SYS_USB_OHCI_CPU_INIT
24#define CONFIG_SYS_USB_OHCI_BOARD_INIT
Vasily Khoruzhick634890b2016-03-20 18:37:04 -070025#ifdef CONFIG_CPU_PXA27X
26#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
27#else
Marek Vasutcd0f3d22011-11-26 11:27:30 +010028#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
Vasily Khoruzhick634890b2016-03-20 18:37:04 -070029#endif
Marek Vasutcd0f3d22011-11-26 11:27:30 +010030#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000
31#define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
Marek Vasutcd0f3d22011-11-26 11:27:30 +010032#endif
33
34#endif /* __CONFIG_PXA_COMMON_H__ */