Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. # All rights reserved.
  3. #
  4. # This software is supplied "AS IS" without any warranties.
  5. # RDA assumes no responsibility or liability for the use of the software,
  6. # conveys no license or title under any patent, copyright, or mask work
  7. # right to the product. RDA reserves the right to make changes in the
  8. # software without notification. RDA also make no representation or
  9. # warranty that such application will be suitable for the specified use
  10. # without further testing or modification.
  11. menu "file system"
  12. choice
  13. prompt "flash block device version"
  14. default FS_FBDEV_DEFAULT_V2
  15. help
  16. There are 2 versions of flash block device implementation. These
  17. 2 versions are incompatible.
  18. config FS_FBDEV_DEFAULT_V1
  19. bool "version 1"
  20. config FS_FBDEV_DEFAULT_V2
  21. bool "version 2"
  22. endchoice
  23. config FS_FBDEV_V1_SUPPORTED
  24. bool "Support flash block device v1"
  25. default n
  26. help
  27. When enabled, flash block device v1 will be supported. Except for
  28. backward compatible consideration, don't enable it.
  29. config FS_FBDEV_V2_SUPPORTED
  30. bool "Support flash block device v2"
  31. default y
  32. help
  33. When enabled, flash block device v2 will be supported.
  34. config FS_FORMAT_FLASH_ON_MOUNT_FAIL
  35. bool "format at mount fail"
  36. default n
  37. help
  38. When file system mount failed, system can't go on. When this is
  39. enabled, system will format the flash region, and try mount again.
  40. Then system can go on, but all existed data will be lost.
  41. Don't enable this in production.
  42. config FS_MOUNT_SDCARD
  43. bool "Mount sdcard"
  44. depends on SDIO_SUPPORT
  45. default n
  46. help
  47. When EMMC and SDMMC Driver support,can be mounted.
  48. if FS_MOUNT_SDCARD
  49. config FS_FORMAT_SDCARD_ON_MOUNT_FAIL
  50. bool "Format sdcard on mount fail"
  51. default y
  52. config FS_SDCARD_MOUNT_POINT
  53. string "Sdcard mount point"
  54. default "/sdcard0"
  55. endif
  56. endmenu