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. Boot command line addr, range from 0 to 1MB.
config BOOTENV_RAM config BOOTENV_RAM
bool "Storage bootenv in RAM" bool "Storage bootenv in RAM"
default n default n
depends on PLATFORM_ROOTFS depends on PLATFORM_ROOTFS
help help
Answer Y to read bootenv from ram. Need boot copy to RAM. Answer Y to read bootenv from ram. Need boot copy to RAM.
config BOOTENV_RAMSIZE config BOOTENV_RAMSIZE
int "Size of boot environment in RAM (Byte)" int "Size of boot environment in RAM (Byte)"
depends on PLATFORM_ROOTFS && BOOTENV_RAM depends on PLATFORM_ROOTFS && BOOTENV_RAM
range 128 1024 range 128 1024
default 512 default 512
help help
Boot environment in Ram space size, range from 128 to 1024 byte. Boot environment in Ram space size, range from 128 to 1024 byte.