diff mbox

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

Message ID 1464837566.2290.2.camel@northern-ridge.com.au
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Peter Howard June 2, 2016, 3:19 a.m. UTC
Signed-off-by: Peter Howard <phoward@gme.net.au>
---
 arch/arm/include/asm/ti-common/davinci_nand.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Comments

Tom Rini June 6, 2016, 9:28 p.m. UTC | #1
On Thu, Jun 02, 2016 at 01:19:26PM +1000, Peter Howard wrote:

> Signed-off-by: Peter Howard <phoward@gme.net.au>

Applied to u-boot/master, thanks!
diff mbox

Patch

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