]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/imx-common/regs-gpmi.h
merged tx6dl-devel into denx master branch
[karo-tx-uboot.git] / arch / arm / include / asm / imx-common / regs-gpmi.h
index b93bfe55cb56b440224f6e723fde16b09caaded5..642864f3cfdcdc14b16a9cd323a502033dcab974 100644 (file)
 #include <asm/imx-common/regs-common.h>
 
 #ifndef        __ASSEMBLY__
-struct mxs_gpmi_regs {
-       mxs_reg_32(hw_gpmi_ctrl0)
-       mxs_reg_32(hw_gpmi_compare)
-       mxs_reg_32(hw_gpmi_eccctrl)
-       mxs_reg_32(hw_gpmi_ecccount)
-       mxs_reg_32(hw_gpmi_payload)
-       mxs_reg_32(hw_gpmi_auxiliary)
-       mxs_reg_32(hw_gpmi_ctrl1)
-       mxs_reg_32(hw_gpmi_timing0)
-       mxs_reg_32(hw_gpmi_timing1)
+struct gpmi_regs {
+       mxs_reg_32(hw_gpmi_ctrl0);
+       mxs_reg_32(hw_gpmi_compare);
+       mxs_reg_32(hw_gpmi_eccctrl);
+       mxs_reg_32(hw_gpmi_ecccount);
+       mxs_reg_32(hw_gpmi_payload);
+       mxs_reg_32(hw_gpmi_auxiliary);
+       mxs_reg_32(hw_gpmi_ctrl1);
+       mxs_reg_32(hw_gpmi_timing0);
+       mxs_reg_32(hw_gpmi_timing1);
 
        uint32_t        reserved[4];
 
-       mxs_reg_32(hw_gpmi_data)
-       mxs_reg_32(hw_gpmi_stat)
-       mxs_reg_32(hw_gpmi_debug)
-       mxs_reg_32(hw_gpmi_version)
+       mxs_reg_32(hw_gpmi_data);
+       mxs_reg_32(hw_gpmi_stat);
+       mxs_reg_32(hw_gpmi_debug);
+       mxs_reg_32(hw_gpmi_version);
 };
 #endif
 
+#define GPMI_BASE_ADDRESS                              MXS_GPMI_BASE
+
 #define        GPMI_CTRL0_SFTRST                               (1 << 31)
 #define        GPMI_CTRL0_CLKGATE                              (1 << 30)
 #define        GPMI_CTRL0_RUN                                  (1 << 29)