projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c422c4f
)
rockchip: grf_rv1108.h: Fix the grf offsets
author
David Wu
<
[email protected]
>
Sat, 13 Jan 2018 05:53:56 +0000
(13:53 +0800)
committer
Philipp Tomsich
<
[email protected]
>
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 <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Acked-by: Philipp Tomsich <
[email protected]
>
Reviewed-by: Philipp Tomsich <
[email protected]
>
arch/arm/include/asm/arch-rockchip/grf_rv1108.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-rockchip/grf_rv1108.h
b/arch/arm/include/asm/arch-rockchip/grf_rv1108.h
index c816a5bf8f2597ea2edc01a93313ce213b07acec..428cf6ac0882c066184e7cf3ebd98292abcc93a5 100644
(file)
--- a/
arch/arm/include/asm/arch-rockchip/grf_rv1108.h
+++ b/
arch/arm/include/asm/arch-rockchip/grf_rv1108.h
@@
-100,13
+100,17
@@
struct rv1108_grf {
u32 reserved14[2];
u32 dma_con0;
u32 dma_con1;
- u32 reserved15[5
3
9];
+ 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 {