[U-Boot] [PATCH 1/1] configs: x86: allow to override CONFIG_BOOTCOMMAND

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Jan 3 15:23:46 UTC 2018


Allow to override CONFIG_BOOTCOMMAND in .config.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 include/configs/x86-common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 064c546403..3d536dc9d5 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -64,8 +64,10 @@
  * Command line configuration.
  */
 
+#ifndef CONFIG_BOOTCOMMAND
 #define CONFIG_BOOTCOMMAND	\
 	"ext2load scsi 0:3 01000000 /boot/vmlinuz; zboot 01000000"
+#endif
 
 #if defined(CONFIG_CMD_KGDB)
 #define CONFIG_KGDB_BAUDRATE			115200
-- 
2.14.2



More information about the U-Boot mailing list