diff options
| author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-12-08 00:38:01 -0500 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@stericsson.com> | 2011-01-10 12:34:54 -0500 |
| commit | d2a40972ec70bd2060d3c46050a101a9678d2991 (patch) | |
| tree | 7583e0e604bdb168f96f20277d4f63bcbf3ea409 | |
| parent | 5ec65521c99178a87f4c859101a92c36f4701fd7 (diff) | |
ux500: allow 5500 and 8500 to be built together
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
| -rw-r--r-- | arch/arm/configs/u8500_defconfig | 4 | ||||
| -rw-r--r-- | arch/arm/mach-ux500/Kconfig | 26 |
2 files changed, 18 insertions, 12 deletions
diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index be80f037f85a..52d86c4485bf 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig | |||
| @@ -9,6 +9,10 @@ CONFIG_MODULE_UNLOAD=y | |||
| 9 | # CONFIG_LBDAF is not set | 9 | # CONFIG_LBDAF is not set |
| 10 | # CONFIG_BLK_DEV_BSG is not set | 10 | # CONFIG_BLK_DEV_BSG is not set |
| 11 | CONFIG_ARCH_U8500=y | 11 | CONFIG_ARCH_U8500=y |
| 12 | CONFIG_UX500_SOC_DB5500=y | ||
| 13 | CONFIG_UX500_SOC_DB8500=y | ||
| 14 | CONFIG_MACH_U8500=y | ||
| 15 | CONFIG_MACH_U5500=y | ||
| 12 | CONFIG_SMP=y | 16 | CONFIG_SMP=y |
| 13 | CONFIG_NR_CPUS=2 | 17 | CONFIG_NR_CPUS=2 |
| 14 | CONFIG_PREEMPT=y | 18 | CONFIG_PREEMPT=y |
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 2dd44a0b4615..247caa3400d0 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig | |||
| @@ -7,28 +7,30 @@ config UX500_SOC_COMMON | |||
| 7 | select HAS_MTU | 7 | select HAS_MTU |
| 8 | select NOMADIK_GPIO | 8 | select NOMADIK_GPIO |
| 9 | 9 | ||
| 10 | config UX500_SOC_DB8500 | 10 | menu "Ux500 SoC" |
| 11 | bool | ||
| 12 | 11 | ||
| 13 | config UX500_SOC_DB5500 | 12 | config UX500_SOC_DB5500 |
| 14 | bool | 13 | bool "DB5500" |
| 14 | |||
| 15 | config UX500_SOC_DB8500 | ||
| 16 | bool "DB8500" | ||
| 17 | |||
| 18 | endmenu | ||
| 15 | 19 | ||
| 16 | choice | 20 | menu "Ux500 target platform" |
| 17 | prompt "Ux500 target platform" | ||
| 18 | default MACH_U8500_MOP | ||
| 19 | 21 | ||
| 20 | config MACH_U8500_MOP | 22 | config MACH_U8500 |
| 21 | bool "U8500 Development platform" | 23 | bool "U8500 Development platform" |
| 22 | select UX500_SOC_DB8500 | 24 | depends on UX500_SOC_DB8500 |
| 23 | help | 25 | help |
| 24 | Include support for the mop500 development platform. | 26 | Include support for the mop500 development platform. |
| 25 | 27 | ||
| 26 | config MACH_U5500 | 28 | config MACH_U5500 |
| 27 | bool "U5500 Development platform" | 29 | bool "U5500 Development platform" |
| 28 | select UX500_SOC_DB5500 | 30 | depends on UX500_SOC_DB5500 |
| 29 | help | 31 | help |
| 30 | Include support for the U5500 development platform. | 32 | Include support for the U5500 development platform. |
| 31 | endchoice | 33 | endmenu |
| 32 | 34 | ||
| 33 | config UX500_DEBUG_UART | 35 | config UX500_DEBUG_UART |
| 34 | int "Ux500 UART to use for low-level debug" | 36 | int "Ux500 UART to use for low-level debug" |
| @@ -39,14 +41,14 @@ config UX500_DEBUG_UART | |||
| 39 | 41 | ||
| 40 | config U5500_MODEM_IRQ | 42 | config U5500_MODEM_IRQ |
| 41 | bool "Modem IRQ support" | 43 | bool "Modem IRQ support" |
| 42 | depends on MACH_U5500 | 44 | depends on UX500_SOC_DB5500 |
| 43 | default y | 45 | default y |
| 44 | help | 46 | help |
| 45 | Add support for handling IRQ:s from modem side | 47 | Add support for handling IRQ:s from modem side |
| 46 | 48 | ||
| 47 | config U5500_MBOX | 49 | config U5500_MBOX |
| 48 | bool "Mailbox support" | 50 | bool "Mailbox support" |
| 49 | depends on MACH_U5500 && U5500_MODEM_IRQ | 51 | depends on U5500_MODEM_IRQ |
| 50 | default y | 52 | default y |
| 51 | help | 53 | help |
| 52 | Add support for U5500 mailbox communication with modem side | 54 | Add support for U5500 mailbox communication with modem side |
