10d163575Sopenharmony_ciconfig PLATFORM_ROOTFS
20d163575Sopenharmony_ci    bool "Enable ROOTFS"
30d163575Sopenharmony_ci    default y
40d163575Sopenharmony_ci    depends on FS_JFFS || FS_FAT || DRIVERS_MTD_NAND
50d163575Sopenharmony_ci    help
60d163575Sopenharmony_ci      Answer Y to enable LiteOS support rootfs.
70d163575Sopenharmony_ci
80d163575Sopenharmony_cichoice
90d163575Sopenharmony_ci    prompt "Storage device type"
100d163575Sopenharmony_ci    default STORAGE_SPINOR
110d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS
120d163575Sopenharmony_ci    help
130d163575Sopenharmony_ci      SPI_NOR or SPI_NAND or EMMC.
140d163575Sopenharmony_ci
150d163575Sopenharmony_ciconfig STORAGE_SPINOR
160d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS && DRIVERS_MTD_SPI_NOR
170d163575Sopenharmony_ci    bool "SPI_NOR Flash"
180d163575Sopenharmony_ci
190d163575Sopenharmony_ciconfig STORAGE_SPINAND
200d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS && DRIVERS_MTD_NAND
210d163575Sopenharmony_ci    bool "SPI_NAND Flash"
220d163575Sopenharmony_ci
230d163575Sopenharmony_ciconfig STORAGE_EMMC
240d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS && DRIVERS_EMMC
250d163575Sopenharmony_ci    bool "EMMC"
260d163575Sopenharmony_ci
270d163575Sopenharmony_ciendchoice
280d163575Sopenharmony_ci
290d163575Sopenharmony_ciconfig BOOTENV_ADDR
300d163575Sopenharmony_ci    int "Address of boot command line (KB)"
310d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS && (STORAGE_SPINOR || STORAGE_SPINAND || STORAGE_EMMC)
320d163575Sopenharmony_ci    default 512
330d163575Sopenharmony_ci    help
340d163575Sopenharmony_ci      Boot command line addr.
350d163575Sopenharmony_ci
360d163575Sopenharmony_ciconfig BOOTENV_RAM
370d163575Sopenharmony_ci    bool "Read bootenv from RAM"
380d163575Sopenharmony_ci    default n
390d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS
400d163575Sopenharmony_ci    help
410d163575Sopenharmony_ci      Answer Y to read bootenv from ram. Need boot copy to RAM.
420d163575Sopenharmony_ci
430d163575Sopenharmony_ciconfig BOOTENV_RAMSIZE
440d163575Sopenharmony_ci    int "Size of boot environment in RAM (Byte)"
450d163575Sopenharmony_ci    depends on PLATFORM_ROOTFS && BOOTENV_RAM
460d163575Sopenharmony_ci    range 128 1024
470d163575Sopenharmony_ci    default 512
480d163575Sopenharmony_ci    help
490d163575Sopenharmony_ci      Boot environment in Ram space size, range from 128 to 1024 byte.
50