X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fubi_uboot.h;h=6da348eb6285f36b63b3391b6b62fa683a582e43;hb=6786ce1ce14feb4d02854a0c04bc0cce505be46e;hp=1fd15f43e4ace6318a1c47fc17a7cf66443ade57;hpb=6defdc0b5552ab1af4a66a8abac8196cbb6b9e15;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h index 1fd15f4..6da348e 100644 --- a/include/ubi_uboot.h +++ b/include/ubi_uboot.h @@ -32,28 +32,7 @@ #include #endif -#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) */ -#undef CONFIG_MTD_UBI_DEBUG -#undef CONFIG_MTD_UBI_DEBUG_PARANOID -#undef CONFIG_MTD_UBI_DEBUG_MSG -#undef CONFIG_MTD_UBI_DEBUG_MSG_EBA -#undef CONFIG_MTD_UBI_DEBUG_MSG_WL -#undef CONFIG_MTD_UBI_DEBUG_MSG_IO -#undef CONFIG_MTD_UBI_DEBUG_MSG_BLD - -#undef CONFIG_MTD_UBI_BLOCK - -#if !defined(CONFIG_MTD_UBI_BEB_LIMIT) -#define CONFIG_MTD_UBI_BEB_LIMIT 20 -#endif +#include /* build.c */ #define get_device(...) @@ -74,5 +53,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