2011-11-26 10:27:30 +00:00
|
|
|
/*
|
|
|
|
* Toradex Colibri PXA270 configuration file
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
|
|
|
|
*
|
2013-10-07 11:07:26 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-11-26 10:27:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_PXA_COMMON_H__
|
|
|
|
#define __CONFIG_PXA_COMMON_H__
|
|
|
|
|
2016-03-21 01:37:07 +00:00
|
|
|
#define CONFIG_SYS_ARM_CACHE_WRITETHROUGH
|
2011-11-26 10:27:30 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* KGDB
|
|
|
|
*/
|
|
|
|
#ifdef CONFIG_CMD_KGDB
|
|
|
|
#define CONFIG_KGDB_BAUDRATE 230400
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* MMC Card Configuration
|
|
|
|
*/
|
|
|
|
#ifdef CONFIG_CMD_MMC
|
|
|
|
#define CONFIG_GENERIC_MMC
|
|
|
|
#define CONFIG_PXA_MMC_GENERIC
|
|
|
|
#define CONFIG_DOS_PARTITION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* OHCI USB
|
|
|
|
*/
|
|
|
|
#ifdef CONFIG_CMD_USB
|
|
|
|
#define CONFIG_USB_OHCI_NEW
|
|
|
|
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
|
|
|
#define CONFIG_SYS_USB_OHCI_BOARD_INIT
|
2016-03-21 01:37:04 +00:00
|
|
|
#ifdef CONFIG_CPU_PXA27X
|
|
|
|
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
|
|
|
|
#else
|
2011-11-26 10:27:30 +00:00
|
|
|
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
2016-03-21 01:37:04 +00:00
|
|
|
#endif
|
2011-11-26 10:27:30 +00:00
|
|
|
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000
|
|
|
|
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __CONFIG_PXA_COMMON_H__ */
|