cmd: booti: move CONFIG_CMD_BOOTI to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 12 Aug 2016 12:31:16 +0000 (08:31 -0400)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:35:08 +0000 (11:35 -0400)
This command is used to boot ARM64 Linux.

I made DISTRO_DEFAULTS select this option for ARM64 to respect
include/config_distro_defaults.h.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Kconfig
cmd/Kconfig
include/config_distro_defaults.h
include/configs/uniphier.h
include/configs/vexpress_aemv8a.h
include/configs/xilinx_zynqmp.h

diff --git a/Kconfig b/Kconfig
index cb5af5b0f76b3d594cb5c88b470fbe03755925c9..7c8714861286c63f3a855a83967e9e1273684560 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -58,6 +58,7 @@ config DISTRO_DEFAULTS
        default y if ARCH_SUNXI
        default n
        select CMD_BOOTZ
+       select CMD_BOOTI if ARM64
        select CMD_DHCP
        select CMD_EXT2
        select CMD_EXT4
index d69b817c827b3dd374efe871c8f4f0a5ffc459d6..e21924639fa503570ba6804441886856acf4aca9 100644 (file)
@@ -165,6 +165,13 @@ config CMD_BOOTZ
        help
          Boot the Linux zImage
 
+config CMD_BOOTI
+       bool "booti"
+       depends on ARM64
+       default y
+       help
+         Boot an AArch64 Linux Kernel image from memory.
+
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
index 92446804526267116185e026ad7aec19ea33783c..b5efab5c3f9c76381e1369c13978b94b3e2fd131 100644 (file)
@@ -20,9 +20,6 @@
 #define CONFIG_BOOTP_PXE
 #define CONFIG_BOOTP_SUBNETMASK
 
-#ifdef CONFIG_ARM64
-#define CONFIG_CMD_BOOTI
-#endif
 #define CONFIG_CMD_PXE
 
 #define CONFIG_CMDLINE_EDITING
index 950c5353d253783ac0ead869c157a574bab5de66..0f5b20ff48c4ec4dd28fb32a2b5b670b08ad33d3 100644 (file)
        "__nfsboot=run tftpboot\0"
 #else
 #ifdef CONFIG_ARM64
-#define CONFIG_CMD_BOOTI
 #define CONFIG_BOOTFILE                        "Image"
 #define LINUXBOOT_CMD                  "booti"
 #define KERNEL_ADDR_R                  "kernel_addr_r=0x80080000\0"
index 46cf83be02e0418b4c156dd6d5ef92a1463e7a85..9aca3936fb1329cd68b875f5ea90977448dd42d0 100644 (file)
 /* Command line configuration */
 #define CONFIG_MENU
 /*#define CONFIG_MENU_SHOW*/
-#define CONFIG_CMD_BOOTI
 #define CONFIG_CMD_UNZIP
 #define CONFIG_CMD_PXE
 #define CONFIG_CMD_ENV
index 297cc4d5f3dd4076dc8bf31daff92c5e5f7ba6d4..ca60e5d3d9cd1155243ccdb747bdcd7264b42d68 100644 (file)
 
 #define CONFIG_SYS_BOOTM_LEN   (60 * 1024 * 1024)
 
-#define CONFIG_CMD_BOOTI
 #define CONFIG_CMD_UNZIP
 
 #define CONFIG_BOARD_EARLY_INIT_R