[PATCH 2/5] sunxi: allow SYS_BOARD to be set

Giulio Benetti giulio.benetti at benettiengineering.com
Fri Feb 19 00:26:17 CET 2021


From: Giulio Benetti <giulio.benetti at micronovasrl.com>

At the moment SYS_BOARD is always defaulted to "sunxi" but we need it to
be set, so let's add string field to it allowing to be setup.

Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
---
 arch/arm/mach-sunxi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 0135575ca1..71b7a21176 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -612,6 +612,7 @@ config SYS_CONFIG_NAME
 	default "sun50i" if MACH_SUN50I_H616
 
 config SYS_BOARD
+	string "Board name"
 	default "sunxi"
 
 config SYS_SOC
-- 
2.25.1



More information about the U-Boot mailing list