diff options
Diffstat (limited to 'include/asm-arm/arch-mx6/mx6.h')
-rw-r--r-- | include/asm-arm/arch-mx6/mx6.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-arm/arch-mx6/mx6.h b/include/asm-arm/arch-mx6/mx6.h index 81edff6..c87f4cc 100644 --- a/include/asm-arm/arch-mx6/mx6.h +++ b/include/asm-arm/arch-mx6/mx6.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. 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 as published by @@ -627,6 +627,9 @@ #define SRC_GPR9 0x40 #define SRC_GPR10 0x44 +/* Get Board ID */ +#define board_is_rev(system_rev, rev) (((system_rev & 0x0F00) == rev) ? 1 : 0) + #ifndef __ASSEMBLER__ enum boot_device { |