#include <asm/arch/regs-common.h>
#ifndef __ASSEMBLY__
-struct mxs_gpmi_regs {
+struct gpmi_regs {
mxs_reg_32(hw_gpmi_ctrl0)
mxs_reg_32(hw_gpmi_compare)
mxs_reg_32(hw_gpmi_eccctrl)
};
#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)