]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: zynq_rsa: remove bootcommand configuration
authorIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Thu, 5 Apr 2018 10:01:37 +0000 (03:01 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 23 Apr 2018 06:57:39 +0000 (08:57 +0200)
BOOTCOMMAND config setting in the header file is warning generation prome,
as it likely redefines the configuration file setting.

Signed-off-by: Ibai Erkiaga <ibaie@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/zynq_zc702_RSA_defconfig
include/configs/zynq-common.h

index 2473f2f5d1ef08b0a5773d7c34596b343c4d2f02..497f6b59e987e6774ee639331b1dc42803b24d4b 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_FIT_VERBOSE=y
+CONFIG_BOOTCOMMAND="run rsa_$modeboot || run distro_bootcmd"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
index 853fbc083d8cff7ed623466a4930eb9ef9841dde..ee2a1c8350413dbe79985bc85781a7fd91b848be 100644 (file)
 /* enable preboot to be loaded before CONFIG_BOOTDELAY */
 #define CONFIG_PREBOOT
 
-/* Boot configuration */
-/* default boot is according to the bootmode switch settings */
-#if defined(CONFIG_CMD_ZYNQ_RSA)
-#define CONFIG_BOOTCOMMAND             "run rsa_$modeboot || run distro_bootcmd"
-#else
-#define CONFIG_BOOTCOMMAND             "run $modeboot || run distro_bootcmd"
-#endif
 #define CONFIG_SYS_LOAD_ADDR           0 /* default? */
 
 /* Distro boot enablement */