
15 Feb
2017
15 Feb
'17
12:57 p.m.
Hi Haikun Wang,
I have a question about the source of uboot.
http://lists.denx.de/pipermail/u-boot/2015-June/217446.html
u32 __iomem *dcfg_ccsr = (u32 __iomem *)DCFG_BASE; val = in_le32(dcfg_ccsr + DCFG_RCWSR13 / 4);
The question is this,
why does DCFG_RCWSR13 device by 4.
(1)dcfg_ccsr is the base address of Dcfg_ccsr
(2)DCFG_RCWSR13 is the offset of Dcfg_rcwsr13
So I think the next is right
val = in_le32(dcfg_ccsr + DCFG_RCWSR13);
Pardon me my clumsiness.