mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 14:14:32 +00:00
f8dc7f2f18
Move CONFIG_SYS_ARM_CACHE_WRITETHROUGH and CONFIG_SYS_ARM_CACHE_WRITEALLOC into Kconfig done by moveconfig.py. Kconfig uses a choice between the 3 values supported in U-Boot, including the new configuration CONFIG_SYS_ARM_CACHE_WRITEBACK (the default configuration). The patch also avoids to select simultaneously 2 configurations. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
41 lines
814 B
C
41 lines
814 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Toradex Colibri PXA270 configuration file
|
|
*
|
|
* Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_PXA_COMMON_H__
|
|
#define __CONFIG_PXA_COMMON_H__
|
|
|
|
/*
|
|
* KGDB
|
|
*/
|
|
#ifdef CONFIG_CMD_KGDB
|
|
#define CONFIG_KGDB_BAUDRATE 230400
|
|
#endif
|
|
|
|
/*
|
|
* MMC Card Configuration
|
|
*/
|
|
#ifdef CONFIG_CMD_MMC
|
|
#define CONFIG_PXA_MMC_GENERIC
|
|
#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
|
|
#ifdef CONFIG_CPU_PXA27X
|
|
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
|
|
#else
|
|
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
|
#endif
|
|
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000
|
|
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
|
|
#endif
|
|
|
|
#endif /* __CONFIG_PXA_COMMON_H__ */
|