diff options
author | Lily Zhang <r58066@freescale.com> | 2010-03-25 13:03:00 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:20:17 +0200 |
commit | 392cf97ed8ad64813c123a2c63ef96bc2da9c073 (patch) | |
tree | da734b27d32e3187c01142a2c5eb2fe8a0f0691a /arch/arm/plat-mxc/include | |
parent | 85f08efb561b5d3de7aa95e0367d68baed38ef51 (diff) |
ENGR00121963-1 MX53: Add ARM2 CPU board support
1. Add basic support for MX53 ARM2 CPU board.
2. Bit 11-8 in system_rev is used to indicate board version. If
Bit 11-8 is 1, it's ARM2 CPU board. Otherwise, it's EVK board. To
run kernel image on ARM2 CPU board, the user can add command option
"system_rev=0x53110" in launch command line.
Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/plat-mxc/include')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/hardware.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc/include/mach/hardware.h index f07f615a5058..e47a97bdfbd8 100644 --- a/arch/arm/plat-mxc/include/mach/hardware.h +++ b/arch/arm/plat-mxc/include/mach/hardware.h @@ -83,6 +83,10 @@ extern unsigned int system_rev; #define board_is_rev(rev) (((system_rev & 0x0F00) == rev) ? 1 : 0) #endif +#ifdef CONFIG_ARCH_MX5 +#define board_is_mx53_arm2() (cpu_is_mx53() && board_is_rev(BOARD_REV_2)) +#endif + #include <mach/mxc.h> /*! |