colibri_imx6: fix video stdout in default environment
[oweals/u-boot.git] / include / ubi_uboot.h
index 324fe720163ac06b84f3fac8803ec863fa5c3200..0770228cd895c6494e6a95b7810b9b8f39008037 100644 (file)
 #include <onenand_uboot.h>
 #endif
 
-#include <asm/errno.h>
+#include <linux/errno.h>
 
 /* configurable */
-#if !defined(CONFIG_MTD_UBI_WL_THRESHOLD)
-#define CONFIG_MTD_UBI_WL_THRESHOLD    4096
-#endif
 #define CONFIG_MTD_UBI_BEB_RESERVE     1
 
 /* debug options (Linux: drivers/mtd/ubi/Kconfig.debug) */
  */
 #define CONFIG_MTD_UBI_MODULE
 
-#if !defined(CONFIG_MTD_UBI_BEB_LIMIT)
-#define CONFIG_MTD_UBI_BEB_LIMIT       20
-#endif
-
 /* build.c */
 #define get_device(...)
 #define put_device(...)
@@ -82,5 +75,7 @@ extern int ubi_volume_write(char *volume, void *buf, size_t size);
 extern int ubi_volume_read(char *volume, char *buf, size_t size);
 
 extern struct ubi_device *ubi_devices[];
+int cmd_ubifs_mount(char *vol_name);
+int cmd_ubifs_umount(void);
 
 #endif