diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-12-22 13:02:41 +0800 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2014-01-12 22:59:21 +0100 |
commit | f794b532ebfb962bee24bb5257bf03a3bdf59ebf (patch) | |
tree | e03d975251238b7b368e3d5db5b55a64bf66907f /drivers/video | |
parent | 7f673c99c2d8d1aa21996c5b914f06d784b080ca (diff) | |
download | u-boot-imx-f794b532ebfb962bee24bb5257bf03a3bdf59ebf.zip u-boot-imx-f794b532ebfb962bee24bb5257bf03a3bdf59ebf.tar.gz u-boot-imx-f794b532ebfb962bee24bb5257bf03a3bdf59ebf.tar.bz2 |
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@freescale.com>
Acked-by: Robin Gong <b38343@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/ipu_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |