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