mxc: changes to common plat-mxc code to add support for i.MX5
Prepare for i.MX5 SoC code by adding the relevant macros to common plat-mxc code. Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
This commit is contained in:
parent
0f3332c4fa
commit
438caa3f6c
6 changed files with 34 additions and 0 deletions
|
@ -45,6 +45,15 @@
|
|||
#define UART_VADDR AIPS1_IO_ADDRESS(UART1_BASE_ADDR)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_MX5
|
||||
#ifdef UART_PADDR
|
||||
#error "CONFIG_DEBUG_LL is incompatible with multiple archs"
|
||||
#endif
|
||||
#include <mach/mx51.h>
|
||||
#define UART_PADDR MX51_UART1_BASE_ADDR
|
||||
#define UART_VADDR MX51_AIPS1_IO_ADDRESS(MX51_UART1_BASE_ADDR)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_MXC91231
|
||||
#ifdef UART_PADDR
|
||||
#error "CONFIG_DEBUG_LL is incompatible with multiple archs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue