summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-mx6
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-10-02 11:20:12 +0000
committerStefano Babic <sbabic@denx.de>2012-10-16 12:35:11 +0200
commitdce67bd548a8c21bf0998806825b0b90fce0e48d (patch)
treee3ac439e1a4e47bdbdb817a0e3e0faed71857f7a /arch/arm/include/asm/arch-mx6
parent903e779c5537e1c87470f911a178e4463984e562 (diff)
downloadtalos-obmc-uboot-dce67bd548a8c21bf0998806825b0b90fce0e48d.tar.gz
talos-obmc-uboot-dce67bd548a8c21bf0998806825b0b90fce0e48d.zip
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.h6
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 dc737ba127..09ab010138 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)
OpenPOWER on IntegriCloud