xref: /openbmc/u-boot/include/configs/pxa-common.h (revision bbbc1ae9)
1 /*
2  * Toradex Colibri PXA270 configuration file
3  *
4  * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19  * MA 02111-1307 USA
20  */
21 
22 #ifndef	__CONFIG_PXA_COMMON_H__
23 #define	__CONFIG_PXA_COMMON_H__
24 
25 #define	CONFIG_DISPLAY_CPUINFO
26 
27 /*
28  * KGDB
29  */
30 #ifdef	CONFIG_CMD_KGDB
31 #define	CONFIG_KGDB_BAUDRATE		230400
32 #define	CONFIG_KGDB_SER_INDEX		2
33 #endif
34 
35 /*
36  * MMC Card Configuration
37  */
38 #ifdef	CONFIG_CMD_MMC
39 #define	CONFIG_MMC
40 #define	CONFIG_GENERIC_MMC
41 #define	CONFIG_PXA_MMC_GENERIC
42 #define	CONFIG_CMD_FAT
43 #define	CONFIG_CMD_EXT2
44 #define	CONFIG_DOS_PARTITION
45 #endif
46 
47 /*
48  * OHCI USB
49  */
50 #ifdef	CONFIG_CMD_USB
51 #define	CONFIG_USB_OHCI_NEW
52 #define	CONFIG_SYS_USB_OHCI_CPU_INIT
53 #define	CONFIG_SYS_USB_OHCI_BOARD_INIT
54 #define	CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	2
55 #define	CONFIG_SYS_USB_OHCI_REGS_BASE		0x4c000000
56 #define	CONFIG_SYS_USB_OHCI_SLOT_NAME		"pxa-ohci"
57 #define	CONFIG_USB_STORAGE
58 #endif
59 
60 #endif	/* __CONFIG_PXA_COMMON_H__ */
61