xref: /openbmc/u-boot/include/configs/pxa-common.h (revision 626f048b)
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_DISPLAY_CPUINFO
13 #define	CONFIG_SYS_ARM_CACHE_WRITETHROUGH
14 
15 /*
16  * KGDB
17  */
18 #ifdef	CONFIG_CMD_KGDB
19 #define	CONFIG_KGDB_BAUDRATE		230400
20 #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
29 #define	CONFIG_CMD_FAT
30 #define	CONFIG_CMD_EXT2
31 #define	CONFIG_DOS_PARTITION
32 #endif
33 
34 /*
35  * OHCI USB
36  */
37 #ifdef	CONFIG_CMD_USB
38 #define	CONFIG_USB_OHCI_NEW
39 #define	CONFIG_SYS_USB_OHCI_CPU_INIT
40 #define	CONFIG_SYS_USB_OHCI_BOARD_INIT
41 #ifdef CONFIG_CPU_PXA27X
42 #define	CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	3
43 #else
44 #define	CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	2
45 #endif
46 #define	CONFIG_SYS_USB_OHCI_REGS_BASE		0x4c000000
47 #define	CONFIG_SYS_USB_OHCI_SLOT_NAME		"pxa-ohci"
48 #define	CONFIG_USB_STORAGE
49 #endif
50 
51 #endif	/* __CONFIG_PXA_COMMON_H__ */
52