#include <asm/arch/regs-common.h>
#ifndef __ASSEMBLY__
-struct mxs_bch_regs {
+struct bch_regs {
mxs_reg_32(hw_bch_ctrl)
mxs_reg_32(hw_bch_status0)
mxs_reg_32(hw_bch_mode)
};
#endif
+#define BCH_BASE_ADDRESS MXS_BCH_BASE
+
#define BCH_CTRL_SFTRST (1 << 31)
#define BCH_CTRL_CLKGATE (1 << 30)
#define BCH_CTRL_DEBUGSYNDROME (1 << 22)