]> git.sur5r.net Git - u-boot/commitdiff
rockchip: grf_rv1108.h: Fix the grf offsets
authorDavid Wu <david.wu@rock-chips.com>
Sat, 13 Jan 2018 05:53:56 +0000 (13:53 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:36 +0000 (17:12 +0100)
The last 4 grf registers offset of rv1108 are wrong, fix them
for correct usage.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/grf_rv1108.h

index c816a5bf8f2597ea2edc01a93313ce213b07acec..428cf6ac0882c066184e7cf3ebd98292abcc93a5 100644 (file)
@@ -100,13 +100,17 @@ struct rv1108_grf {
        u32 reserved14[2];
        u32 dma_con0;
        u32 dma_con1;
-       u32 reserved15[539];
+       u32 reserved15[59];
        u32 uoc_status;
+       u32 reserved16[2];
        u32 host_status;
+       u32 reserved17[59];
        u32 gmac_con0;
+       u32 reserved18[191];
        u32 chip_id;
 };
-check_member(rv1108_grf, chip_id, 0xf90);
+
+check_member(rv1108_grf, chip_id, 0x0c00);
 
 /* GRF_GPIO1B_IOMUX */
 enum {