diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-10-02 11:20:12 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-10-16 10:35:11 (GMT) |
commit | dce67bd548a8c21bf0998806825b0b90fce0e48d (patch) | |
tree | e3ac439e1a4e47bdbdb817a0e3e0faed71857f7a /arch/arm/include/asm/arch-mx6 | |
parent | 903e779c5537e1c87470f911a178e4463984e562 (diff) | |
download | u-boot-fsl-qoriq-dce67bd548a8c21bf0998806825b0b90fce0e48d.tar.xz |
mx6qsabreauto: Pass the board revision to the kernel
The kernel from Freescale expects that the bootloader passes the board revision.
Read the board revision and pass it via get_board_rev().
Without passing the board revision the kernel does not operate properly as the
initialization of peripherals are different in revA versus revB boards.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/imx-regs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index dc737ba..09ab010 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -200,6 +200,12 @@ struct src { u32 gpr10; }; +/* OCOTP Registers */ +struct ocotp_regs { + u32 reserved[0x198]; + u32 gp1; /* 0x660 */ +}; + /* GPR3 bitfields */ #define IOMUXC_GPR3_GPU_DBG_OFFSET 29 #define IOMUXC_GPR3_GPU_DBG_MASK (3<<IOMUXC_GPR3_GPU_DBG_OFFSET) |