[U-Boot] [PATCH 1/2] video: ipu reg: Correct reserved1 array size in struct ipu_cm
Yibin Gong
yibin.gong at freescale.com
Fri Dec 20 10:33:44 CET 2013
Acked-by: Robin Gong <b38343 at freescale.com>
-----Original Message-----
From: Liu Ying [mailto:Ying.Liu at freescale.com]
Sent: Friday, December 20, 2013 5:30 PM
To: agust at denx.de
Cc: u-boot at lists.denx.de; sbabic at denx.de; Gong Yibin-B38343
Subject: [PATCH 1/2] video: ipu reg: Correct reserved1 array size in struct ipu_cm
The array reserved1 as a placeholder in the structure ipu_cm should contain 4 32bit unsigned integer entries instead of 16 ones, because the placeholder is located bewteen the register
IPU_CH_DB_MODE_SEL_1 and the register IPU_ALT_CH_DB_MODE_SEL_0 with the address offsets of 0x154 and 0x168 respectively.
Reported-by: Robin Gong <b38343 at freescale.com>
Cc: Stefano Babic <sbabic at denx.de>
Signed-off-by: Liu Ying <Ying.Liu at freescale.com>
---
drivers/video/ipu_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/ipu_regs.h b/drivers/video/ipu_regs.h index 73e57ea..b2481a4 100644
--- a/drivers/video/ipu_regs.h
+++ b/drivers/video/ipu_regs.h
@@ -171,7 +171,7 @@ struct ipu_cm {
u32 gpr;
u32 reserved0[26];
u32 ch_db_mode_sel[2];
- u32 reserved1[16];
+ u32 reserved1[4];
u32 alt_ch_db_mode_sel[2];
u32 reserved2[2];
u32 ch_trb_mode_sel[2];
--
1.7.9.5
More information about the U-Boot
mailing list