[U-Boot] [PATCH] Fix to davinci_nand.h to place CEnCFG registers at correct

Peter Howard pjh at northern-ridge.com.au
Thu Jun 2 05:19:26 CEST 2016


Signed-off-by: Peter Howard <phoward at gme.net.au>
---
 arch/arm/include/asm/ti-common/davinci_nand.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/as
m/ti-common/davinci_nand.h
index 11407be..f343ac2 100644
--- a/arch/arm/include/asm/ti-common/davinci_nand.h
+++ b/arch/arm/include/asm/ti-common/davinci_nand.h
@@ -35,10 +35,12 @@ struct davinci_emif_regs {        uint32_t        sdrcr;
        union {
                uint32_t abncr[4];
-               uint32_t ab1cr;
-               uint32_t ab2cr;
-               uint32_t ab3cr;
-               uint32_t ab4cr;
+               struct {
+                       uint32_t ab1cr;
+                       uint32_t ab2cr;
+                       uint32_t ab3cr;
+                       uint32_t ab4cr;
+               };
        };
        uint32_t        sdtimr;
        uint32_t        ddrsr;
-- 
1.9.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160602/b6bd510a/attachment.sig>


More information about the U-Boot mailing list