Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Toradex Colibri PXA270 configuration file |
| 4 | * |
| 5 | * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com> |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIG_PXA_COMMON_H__ |
| 9 | #define __CONFIG_PXA_COMMON_H__ |
| 10 | |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 11 | /* |
| 12 | * KGDB |
| 13 | */ |
| 14 | #ifdef CONFIG_CMD_KGDB |
| 15 | #define CONFIG_KGDB_BAUDRATE 230400 |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 16 | #endif |
| 17 | |
| 18 | /* |
| 19 | * MMC Card Configuration |
| 20 | */ |
| 21 | #ifdef CONFIG_CMD_MMC |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 22 | #define CONFIG_PXA_MMC_GENERIC |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 23 | #endif |
| 24 | |
| 25 | /* |
| 26 | * OHCI USB |
| 27 | */ |
| 28 | #ifdef CONFIG_CMD_USB |
| 29 | #define CONFIG_USB_OHCI_NEW |
| 30 | #define CONFIG_SYS_USB_OHCI_CPU_INIT |
| 31 | #define CONFIG_SYS_USB_OHCI_BOARD_INIT |
Vasily Khoruzhick | 634890b | 2016-03-20 18:37:04 -0700 | [diff] [blame] | 32 | #ifdef CONFIG_CPU_PXA27X |
| 33 | #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3 |
| 34 | #else |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 35 | #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2 |
Vasily Khoruzhick | 634890b | 2016-03-20 18:37:04 -0700 | [diff] [blame] | 36 | #endif |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 37 | #define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000 |
| 38 | #define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci" |
Marek Vasut | cd0f3d2 | 2011-11-26 11:27:30 +0100 | [diff] [blame] | 39 | #endif |
| 40 | |
| 41 | #endif /* __CONFIG_PXA_COMMON_H__ */ |