omap2_nand_ecc_prepare
static int omap2_nand_ecc_prepare(device_t self, int mode);
sc->sc_nand_if.ecc_prepare = &omap2_nand_ecc_prepare;