diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-02-15 15:01:35 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-03-14 14:05:16 +0100 |
commit | 4b4f757c807375564ce3d4ff1d088d3847c52f6d (patch) | |
tree | eac756e13f38cb9fd899df6225665a0d8caaff62 /arch/arm/mach-ux500/include | |
parent | 4bc3a698c3db6592490cd685e395e27216ed2454 (diff) | |
download | blackbird-op-linux-4b4f757c807375564ce3d4ff1d088d3847c52f6d.tar.gz blackbird-op-linux-4b4f757c807375564ce3d4ff1d088d3847c52f6d.zip |
mach-ux500: basic HREFv60 support v2
The HREFv60 variant of the MOP500 family of boards remove the
external GPIO expander and route these pins back to some of the
readily available internal GPIO pins instead.
Based on a patch by Bibek Basu <bibek.basu@stericsson.com> for
an internal kernel version.
Cc: Bibek Basu <bibek.basu@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/uncompress.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/uncompress.h b/arch/arm/mach-ux500/include/mach/uncompress.h index 9a6614c6808e..ab0fe1432fae 100644 --- a/arch/arm/mach-ux500/include/mach/uncompress.h +++ b/arch/arm/mach-ux500/include/mach/uncompress.h @@ -50,7 +50,11 @@ static void flush(void) static inline void arch_decomp_setup(void) { - if (machine_is_u8500()) + /* Check in run time if we run on an U8500 or U5500 */ + if (machine_is_u8500() || + machine_is_svp8500v1() || + machine_is_svp8500v2() || + machine_is_hrefv60()) ux500_uart_base = U8500_UART2_BASE; else if (machine_is_u5500()) ux500_uart_base = U5500_UART0_BASE; |