diff options
author | Robby Cai <R63905@freescale.com> | 2013-03-22 18:34:49 +0800 |
---|---|---|
committer | Robby Cai <R63905@freescale.com> | 2013-04-16 19:02:58 +0800 |
commit | ecc7d124fe49c9ade7f4acc2b09deebfe4dd444f (patch) | |
tree | 0ea895f2113756c48d6e0ea0b45aab34caa3d9bc /include/asm-arm/arch-mx6/mx6.h | |
parent | 7b0f5fa27113ec82fd1074c22a4b54da1e53d186 (diff) | |
download | u-boot-imx-ecc7d124fe49c9ade7f4acc2b09deebfe4dd444f.zip u-boot-imx-ecc7d124fe49c9ade7f4acc2b09deebfe4dd444f.tar.gz u-boot-imx-ecc7d124fe49c9ade7f4acc2b09deebfe4dd444f.tar.bz2 |
ENGR00255977 mx6sl: correct the information for chip and board revision
mx6sl chip revision is from different-offset register in anatop module
comparing to other mx6 series. This patch fixes it and also uses board
'RevC' to indicate the latest board revision if this information can not
be obtained from fuse.
Signed-off-by: Robby Cai <R63905@freescale.com>
(cherry picked from commit 39e36b5e5a7cfe53fd6e286d9fe9024b365f1a29)
Diffstat (limited to 'include/asm-arm/arch-mx6/mx6.h')
-rw-r--r-- | include/asm-arm/arch-mx6/mx6.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/arch-mx6/mx6.h b/include/asm-arm/arch-mx6/mx6.h index 54eeddf..9fc1e7a 100644 --- a/include/asm-arm/arch-mx6/mx6.h +++ b/include/asm-arm/arch-mx6/mx6.h @@ -719,13 +719,14 @@ #define CHIP_REV_1_0 0x10 #define CHIP_REV_2_0 0x20 #define CHIP_REV_2_1 0x21 -#define CHIP_REV_UNKNOWN 0xff +#define CHIP_REV_MASK 0xff #define BOARD_REV_1 0x000 #define BOARD_REV_2 0x100 #define BOARD_REV_3 0x200 #define BOARD_REV_4 0x300 #define BOARD_REV_5 0x400 +#define BOARD_REV_MASK 0xf00 #define PLATFORM_ICGC 0x14 |