Kconfig 1.2 KB
Newer Older
W
wenjun 已提交
1 2 3
config PLATFORM_ROOTFS
    bool "Enable ROOTFS"
    default y
4
    depends on FS_JFFS || FS_FAT || DRIVERS_MTD_NAND
W
wenjun 已提交
5 6
    help
      Answer Y to enable LiteOS support rootfs.
M
mamingshuai 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

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)"
31
    depends on PLATFORM_ROOTFS && (STORAGE_SPINOR || STORAGE_SPINAND || STORAGE_EMMC)
M
mamingshuai 已提交
32 33
    default 512
    help
L
Laowang-BearPi 已提交
34
      Boot command line addr.
35 36

config BOOTENV_RAM
37
    bool "Read bootenv from RAM"
38 39 40 41
    default n
    depends on PLATFORM_ROOTFS
    help
      Answer Y to read bootenv from ram. Need boot copy to RAM.
42 43

config BOOTENV_RAMSIZE
44 45 46 47 48 49
    int "Size of boot environment in RAM (Byte)"
    depends on PLATFORM_ROOTFS && BOOTENV_RAM
    range 128 1024
    default 512
    help
      Boot environment in Ram space size, range from 128 to 1024 byte.