]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: ipu reg: Correct reserved array size in struct ipu_idmac
authorLiu Ying <Ying.Liu@freescale.com>
Sun, 22 Dec 2013 05:02:42 +0000 (13:02 +0800)
committerAnatolij Gustschin <agust@denx.de>
Sun, 12 Jan 2014 22:00:06 +0000 (23:00 +0100)
The array reserved as a placeholder in the structure ipu_idmac
should contain 44 32bit unsigned integer entries instead of 45
ones, because the placeholder is located bewteen the register
IDMAC_SC_CORD1 and the register IDMAC_CH_BUSY_1 with the address
offsets of 0x804c and 0x8100 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>
drivers/video/ipu_regs.h

index b2481a48679d2aecadac732a35427931ba337382..21e9c99e0e637b68e1c834e16189f7694d72b961 100644 (file)
@@ -188,7 +188,7 @@ struct ipu_idmac {
        u32 sub_addr[5];
        u32 bndm_en[2];
        u32 sc_cord[2];
-       u32 reserved[45];
+       u32 reserved[44];
        u32 ch_busy[2];
 };