fix: Provide a separate configuration macro for boot environment in RAM.

This commit is contained in:
boxi 2021-04-26 19:55:31 +08:00 committed by Gitee
parent f13b90e430
commit bc67393a67
1 changed files with 11 additions and 11 deletions

View File

@ -35,16 +35,16 @@ config BOOTENV_ADDR
Boot command line addr, range from 0 to 1MB.
config BOOTENV_RAM
bool "Storage bootenv in RAM"
default n
depends on PLATFORM_ROOTFS
help
Answer Y to read bootenv from ram. Need boot copy to RAM.
bool "Storage bootenv in RAM"
default n
depends on PLATFORM_ROOTFS
help
Answer Y to read bootenv from ram. Need boot copy to RAM.
config BOOTENV_RAMSIZE
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.
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.