X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fubi_uboot.h;h=0770228cd895c6494e6a95b7810b9b8f39008037;hb=HEAD;hp=324fe720163ac06b84f3fac8803ec863fa5c3200;hpb=dee332ffb735f65ab922118791a583c17bb0b795;p=oweals%2Fu-boot.git diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h index 324fe72016..0770228cd8 100644 --- a/include/ubi_uboot.h +++ b/include/ubi_uboot.h @@ -32,12 +32,9 @@ #include #endif -#include +#include /* 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) */ @@ -59,10 +56,6 @@ */ #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