From 5e9145edcc368295cb353872b4a6026e13f5565e Mon Sep 17 00:00:00 2001 From: Alberto Panizzo Date: Tue, 19 May 2009 10:01:03 +0200 Subject: Atmark Armadillo 500 board support. Signed-off-by: Alberto Panizzo Signed-off-by: Sascha Hauer --- .../arm/plat-mxc/include/mach/board-armadillo5x0.h | 22 ++++++++++++++++++++++ arch/arm/plat-mxc/include/mach/debug-macro.S | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 arch/arm/plat-mxc/include/mach/board-armadillo5x0.h (limited to 'arch/arm/plat-mxc/include') 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 00000000000..8769e910e55 --- /dev/null +++ b/arch/arm/plat-mxc/include/mach/board-armadillo5x0.h @@ -0,0 +1,22 @@ +/* + * Copyright 2009 Alberto Panizzo . + * All Rights Reserved. + */ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_MXC_BOARD_ARMADILLO5X0_H__ +#define __ASM_ARCH_MXC_BOARD_ARMADILLO5X0_H__ + +#include + +/* mandatory for CONFIG_DEBUG_LL */ + +#define MXC_LL_UART_PADDR UART1_BASE_ADDR +#define MXC_LL_UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR) + +#endif diff --git a/arch/arm/plat-mxc/include/mach/debug-macro.S b/arch/arm/plat-mxc/include/mach/debug-macro.S index e6b841b15e3..57d3e3fccc6 100644 --- a/arch/arm/plat-mxc/include/mach/debug-macro.S +++ b/arch/arm/plat-mxc/include/mach/debug-macro.S @@ -42,6 +42,9 @@ #endif #ifdef CONFIG_MACH_MX27_3DS #include +#endif +#ifdef CONFIG_MACH_ARMADILLO5X0 +#include #endif .macro addruart,rx mrc p15, 0, \rx, c1, c0 -- cgit v1.2.3