Marek Vasut | d64ff0d | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Toradex Colibri PXA270 configuration file |
| 3 | * |
| 4 | * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com> |
| 5 | * |
Wolfgang Denk | bd8ec7e | 2013-10-07 13:07:26 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | d64ff0d | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __CONFIG_PXA_COMMON_H__ |
| 10 | #define __CONFIG_PXA_COMMON_H__ |
| 11 | |
| 12 | #define CONFIG_DISPLAY_CPUINFO |
| 13 | |
| 14 | /* |
| 15 | * KGDB |
| 16 | */ |
| 17 | #ifdef CONFIG_CMD_KGDB |
| 18 | #define CONFIG_KGDB_BAUDRATE 230400 |
Marek Vasut | d64ff0d | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 19 | #endif |
| 20 | |
| 21 | /* |
| 22 | * MMC Card Configuration |
| 23 | */ |
| 24 | #ifdef CONFIG_CMD_MMC |
| 25 | #define CONFIG_MMC |
| 26 | #define CONFIG_GENERIC_MMC |
| 27 | #define CONFIG_PXA_MMC_GENERIC |
| 28 | #define CONFIG_CMD_FAT |
| 29 | #define CONFIG_CMD_EXT2 |
| 30 | #define CONFIG_DOS_PARTITION |
| 31 | #endif |
| 32 | |
| 33 | /* |
| 34 | * OHCI USB |
| 35 | */ |
| 36 | #ifdef CONFIG_CMD_USB |
| 37 | #define CONFIG_USB_OHCI_NEW |
| 38 | #define CONFIG_SYS_USB_OHCI_CPU_INIT |
| 39 | #define CONFIG_SYS_USB_OHCI_BOARD_INIT |
Vasily Khoruzhick | 8d840cf | 2016-03-20 18:37:04 -0700 | [diff] [blame^] | 40 | #ifdef CONFIG_CPU_PXA27X |
| 41 | #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3 |
| 42 | #else |
Marek Vasut | d64ff0d | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 43 | #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2 |
Vasily Khoruzhick | 8d840cf | 2016-03-20 18:37:04 -0700 | [diff] [blame^] | 44 | #endif |
Marek Vasut | d64ff0d | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 45 | #define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000 |
| 46 | #define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci" |
| 47 | #define CONFIG_USB_STORAGE |
| 48 | #endif |
| 49 | |
| 50 | #endif /* __CONFIG_PXA_COMMON_H__ */ |