xref: /openbmc/u-boot/include/configs/pxa-common.h (revision e91610da)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Toradex Colibri PXA270 configuration file
4  *
5  * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
6  */
7 
8 #ifndef	__CONFIG_PXA_COMMON_H__
9 #define	__CONFIG_PXA_COMMON_H__
10 
11 #define	CONFIG_SYS_ARM_CACHE_WRITETHROUGH
12 
13 /*
14  * KGDB
15  */
16 #ifdef	CONFIG_CMD_KGDB
17 #define	CONFIG_KGDB_BAUDRATE		230400
18 #endif
19 
20 /*
21  * MMC Card Configuration
22  */
23 #ifdef	CONFIG_CMD_MMC
24 #define	CONFIG_PXA_MMC_GENERIC
25 #endif
26 
27 /*
28  * OHCI USB
29  */
30 #ifdef	CONFIG_CMD_USB
31 #define	CONFIG_USB_OHCI_NEW
32 #define	CONFIG_SYS_USB_OHCI_CPU_INIT
33 #define	CONFIG_SYS_USB_OHCI_BOARD_INIT
34 #ifdef CONFIG_CPU_PXA27X
35 #define	CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	3
36 #else
37 #define	CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	2
38 #endif
39 #define	CONFIG_SYS_USB_OHCI_REGS_BASE		0x4c000000
40 #define	CONFIG_SYS_USB_OHCI_SLOT_NAME		"pxa-ohci"
41 #endif
42 
43 #endif	/* __CONFIG_PXA_COMMON_H__ */
44