Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig

This converts the following to Kconfig:
   CONFIG_CMD_SH_ZIMAGEBOOT

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
master
Simon Glass 7 years ago committed by Tom Rini
parent 719d36ee36
commit 2a728f3a1e
  1. 2
      arch/sh/Kconfig
  2. 6
      arch/sh/lib/Kconfig
  3. 5
      include/configs/r2dplus.h
  4. 2
      include/configs/sh7785lcr.h
  5. 1
      scripts/config_whitelist.txt

@ -128,6 +128,8 @@ config SYS_CPU
default "sh3" if CPU_SH3 default "sh3" if CPU_SH3
default "sh4" if CPU_SH4 default "sh4" if CPU_SH4
source "arch/sh/lib/Kconfig"
source "board/alphaproject/ap_sh4a_4a/Kconfig" source "board/alphaproject/ap_sh4a_4a/Kconfig"
source "board/espt/Kconfig" source "board/espt/Kconfig"
source "board/mpr2/Kconfig" source "board/mpr2/Kconfig"

@ -0,0 +1,6 @@
config CMD_SH_ZIMAGEBOOT
bool "zimageboot - Boot a zImage on SH"
default y
help
This is special SH-specific command to boot a zImage (compressed
Linux image) on SH-architecture boards.

@ -8,11 +8,6 @@
#define CONFIG_DISPLAY_BOARDINFO #define CONFIG_DISPLAY_BOARDINFO
/*
* Command line configuration.
*/
#define CONFIG_CMD_SH_ZIMAGEBOOT
/* SCIF */ /* SCIF */
#define CONFIG_CONS_SCIF1 1 #define CONFIG_CONS_SCIF1 1

@ -12,8 +12,6 @@
#define CONFIG_CPU_SH7785 1 #define CONFIG_CPU_SH7785 1
#define CONFIG_SH7785LCR 1 #define CONFIG_SH7785LCR 1
#define CONFIG_CMD_SH_ZIMAGEBOOT
#define CONFIG_BOOTARGS "console=ttySC1,115200 root=/dev/nfs ip=dhcp" #define CONFIG_BOOTARGS "console=ttySC1,115200 root=/dev/nfs ip=dhcp"
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \

@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG CONFIG_CMDLINE_TAG
CONFIG_CMD_SH_ZIMAGEBOOT
CONFIG_CMD_SPL CONFIG_CMD_SPL
CONFIG_CMD_SPL_NAND_OFS CONFIG_CMD_SPL_NAND_OFS
CONFIG_CMD_SPL_WRITE_SIZE CONFIG_CMD_SPL_WRITE_SIZE

Loading…
Cancel
Save