[PATCH u-boot v2016.07-aspeed-openbmc] Aspeed: ast-g5 change configuration order to allow 2-nd boot
Mykola Kostenok
c_mykolak at mellanox.com
Fri Jun 2 19:17:01 AEST 2017
Add configuration for FIRMWARE_2ND_BOOT.
Change SYS_CONFIG_NAME default order to use ast-g5-ncsi-2boot
if FIRMWARE_2ND_BOOT is set.
Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>
---
board/aspeed/ast-g5/Kconfig | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/board/aspeed/ast-g5/Kconfig b/board/aspeed/ast-g5/Kconfig
index 0a8b38b9db..f5613ac297 100644
--- a/board/aspeed/ast-g5/Kconfig
+++ b/board/aspeed/ast-g5/Kconfig
@@ -15,9 +15,13 @@ config SYS_VENDOR
config SYS_SOC
default "aspeed"
+config FIRMWARE_2ND_BOOT
+ bool "Firmware second boot WD2 enable."
+ default n
+
config SYS_CONFIG_NAME
default "ast-g5-phy" if ASPEED_NET_PHY
- default "ast-g5-ncsi" if ASPEED_NET_NCSI
default "ast-g5-ncsi-2boot" if ASPEED_NET_NCSI && FIRMWARE_2ND_BOOT
+ default "ast-g5-ncsi" if ASPEED_NET_NCSI
endif
--
2.11.0
More information about the openbmc
mailing list