diff options
author | Daniel Schaeffer <daniel.schaeffer@timesys.com> | 2009-06-03 17:23:54 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-04 03:34:23 -0400 |
commit | 8c032ec337bdf6ca9b083345b265130a55100b69 (patch) | |
tree | 0836c22b596757b1945f496602b416dce4a0a994 /arch/arm/plat-mxc | |
parent | aefa1c6e7b76fc428770fede6e8b86587fc2ce09 (diff) |
mxc: Add i.MX27LITE board support
Sascha Hauer wrote:
> On Tue, Jun 02, 2009 at 04:18:42PM -0400, Daniel Schaeffer wrote:
>> Add basic support for the Logic i.MX27LITE board.
>>
>> Signed-off-by: Daniel Schaeffer <daniel.schaeffer@timesys.com>
>
> Besides the comment made by Fabio this looks ok to me.
>
> Sascha
>
>
Fixed issues pointed out by Fabio and Magnus, and rebased to mxc-master head.
Signed-off-by: Daniel Schaeffer <daniel.schaeffer@timesys.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/board-mx27lite.h | 19 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/debug-macro.S | 3 |
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/board-mx27lite.h b/arch/arm/plat-mxc/include/mach/board-mx27lite.h new file mode 100644 index 000000000000..a870f8ea2443 --- /dev/null +++ b/arch/arm/plat-mxc/include/mach/board-mx27lite.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved. | ||
3 | */ | ||
4 | |||
5 | /* | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __ASM_ARCH_MXC_BOARD_MX27LITE_H__ | ||
12 | #define __ASM_ARCH_MXC_BOARD_MX27LITE_H__ | ||
13 | |||
14 | /* mandatory for CONFIG_DEBUG_LL */ | ||
15 | |||
16 | #define MXC_LL_UART_PADDR UART1_BASE_ADDR | ||
17 | #define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) | ||
18 | |||
19 | #endif /* __ASM_ARCH_MXC_BOARD_MX27LITE_H__ */ | ||
diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S index e280978eef60..bbc5f6753cfb 100644 --- a/arch/arm/plat-mxc/include/mach/debug-macro.S +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S | |||
@@ -49,6 +49,9 @@ | |||
49 | #ifdef CONFIG_MACH_MX35_3DS | 49 | #ifdef CONFIG_MACH_MX35_3DS |
50 | #include <mach/board-mx35pdk.h> | 50 | #include <mach/board-mx35pdk.h> |
51 | #endif | 51 | #endif |
52 | #ifdef CONFIG_MACH_MX27LITE | ||
53 | #include <mach/board-mx27lite.h> | ||
54 | #endif | ||
52 | .macro addruart,rx | 55 | .macro addruart,rx |
53 | mrc p15, 0, \rx, c1, c0 | 56 | mrc p15, 0, \rx, c1, c0 |
54 | tst \rx, #1 @ MMU enabled? | 57 | tst \rx, #1 @ MMU enabled? |