spl: fit: nand: allow for non-page-aligned elements
[platform/kernel/u-boot.git] / drivers / mtd / nand / raw / mxs_nand_spl.c
index 46dc29d..17f46ae 100644 (file)
@@ -282,6 +282,11 @@ int nand_spl_load_image(uint32_t offs, unsigned int size, void *buf)
        return 0;
 }
 
+struct mtd_info *nand_get_mtd(void)
+{
+       return mtd;
+}
+
 int nand_default_bbt(struct mtd_info *mtd)
 {
        return 0;