kernel_liteos_a/kernel/common/Kconfig

36 lines
782 B
Plaintext
Executable File

config PLATFORM_ROOTFS
bool "Enable ROOTFS"
default y
depends on FS_JFFS || FS_FAT
help
Answer Y to enable LiteOS support rootfs.
choice
prompt "Storage device type"
default STORAGE_SPINOR
depends on PLATFORM_ROOTFS
help
SPI_NOR or SPI_NAND or EMMC.
config STORAGE_SPINOR
depends on PLATFORM_ROOTFS && DRIVERS_MTD_SPI_NOR
bool "SPI_NOR Flash"
config STORAGE_SPINAND
depends on PLATFORM_ROOTFS && DRIVERS_MTD_NAND
bool "SPI_NAND Flash"
config STORAGE_EMMC
depends on PLATFORM_ROOTFS && DRIVERS_EMMC
bool "EMMC"
endchoice
config BOOTENV_ADDR
int "Address of boot command line (KB)"
depends on PLATFORM_ROOTFS
range 0 1024
default 512
help
Boot command line addr, range from 0 to 1MB.