preboot: Introduce CONFIG_USE_PREBOOT and migrate CONFIG_PREBOOT

This is the same migration path as commit b6251db8c3 ("Kconfig:
Introduce USE_BOOTCOMMAND and migrate BOOTCOMMAND").

I also moved the description in README to the Kconfig help.
I ripped off the sentence about 'LWMON' since it is gone already.

I only let my boards migrate, leaving the rest to platform maintainers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada
2019-02-14 11:05:33 +09:00
committed by Tom Rini
parent 2ab6e74dbd
commit 607d06d262
6 changed files with 24 additions and 18 deletions

View File

@@ -124,8 +124,6 @@
"third_image=u-boot.bin\0"
#endif
#define CONFIG_PREBOOT "env exist ${bootdev}preboot && run ${bootdev}preboot"
#define CONFIG_ROOTPATH "/nfs/root/path"
#define CONFIG_NFSBOOTCOMMAND \
"setenv bootargs $bootargs root=/dev/nfs rw " \