Merge tag 'next-20220328' of https://source.denx.de/u-boot/custodians/u-boot-video...
[platform/kernel/u-boot.git] / include / mxs_nand.h
index c0cefac..741dc87 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/mtd/mtd.h>
+#include <linux/mtd/rawnand.h>
 #include <asm/cache.h>
 #include <nand.h>
 #include <asm/mach-imx/dma.h>
@@ -43,8 +44,6 @@ struct mxs_nand_info {
        struct udevice *dev;
        unsigned int    max_ecc_strength_supported;
        bool            use_minimum_ecc;
-       /* legacy bch geometry flag */
-       bool            legacy_bch_geometry;
        int             cur_chip;
 
        uint32_t        cmd_queue_len;