From: Peter Howard Date: Thu, 2 Jun 2016 03:19:26 +0000 (+1000) Subject: Fix to davinci_nand.h to place CEnCFG registers at correct X-Git-Tag: v2016.07-rc1~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c165994299281957d735f5ec8863dda6243c3456;p=u-boot Fix to davinci_nand.h to place CEnCFG registers at correct Signed-off-by: Peter Howard --- diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/asm/ti-common/davinci_nand.h index 11407be144..f343ac2c0f 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;