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