diff options
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-armadillo5x0.h | 22 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/debug-macro.S | 3 |
2 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/board-armadillo5x0.h b/arch/arm/plat-mxc/include/mach/board-armadillo5x0.h new file mode 100644 index 000000000000..8769e910e559 --- /dev/null +++ b/arch/arm/plat-mxc/include/mach/board-armadillo5x0.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Alberto Panizzo <maramaopercheseimorto@gmail.com>. | ||
3 | * All Rights Reserved. | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef __ASM_ARCH_MXC_BOARD_ARMADILLO5X0_H__ | ||
13 | #define __ASM_ARCH_MXC_BOARD_ARMADILLO5X0_H__ | ||
14 | |||
15 | #include <mach/hardware.h> | ||
16 | |||
17 | /* mandatory for CONFIG_DEBUG_LL */ | ||
18 | |||
19 | #define MXC_LL_UART_PADDR UART1_BASE_ADDR | ||
20 | #define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) | ||
21 | |||
22 | #endif | ||
diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S index e6b841b15e36..57d3e3fccc6d 100644 --- a/arch/arm/plat-mxc/include/mach/debug-macro.S +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S | |||
@@ -43,6 +43,9 @@ | |||
43 | #ifdef CONFIG_MACH_MX27_3DS | 43 | #ifdef CONFIG_MACH_MX27_3DS |
44 | #include <mach/board-mx27pdk.h> | 44 | #include <mach/board-mx27pdk.h> |
45 | #endif | 45 | #endif |
46 | #ifdef CONFIG_MACH_ARMADILLO5X0 | ||
47 | #include <mach/board-armadillo5x0.h> | ||
48 | #endif | ||
46 | .macro addruart,rx | 49 | .macro addruart,rx |
47 | mrc p15, 0, \rx, c1, c0 | 50 | mrc p15, 0, \rx, c1, c0 |
48 | tst \rx, #1 @ MMU enabled? | 51 | tst \rx, #1 @ MMU enabled? |