[U-Boot] [PATCH v1 19/29] imx6: aristainetos: get rid of CONFIG_BOARDNAME
Heiko Schocher
hs at denx.de
Sun Dec 1 11:23:22 CET 2019
CONFIG_BOARDNAME is not longer needed, as we use
the model information from DTS.
Signed-off-by: Heiko Schocher <hs at denx.de>
---
board/aristainetos/Kconfig | 3 ---
board/aristainetos/aristainetos.c | 6 ------
board/aristainetos/common/Kconfig | 5 -----
3 files changed, 14 deletions(-)
diff --git a/board/aristainetos/Kconfig b/board/aristainetos/Kconfig
index 2bb12fce75..6700f517f1 100644
--- a/board/aristainetos/Kconfig
+++ b/board/aristainetos/Kconfig
@@ -8,7 +8,4 @@ config SYS_BOARD
config SYS_BOARD_VERSION
default 2
-config BOARDNAME
- default "aristainetos2"
-
endif
diff --git a/board/aristainetos/aristainetos.c b/board/aristainetos/aristainetos.c
index edaec5ee87..846a99804a 100644
--- a/board/aristainetos/aristainetos.c
+++ b/board/aristainetos/aristainetos.c
@@ -509,12 +509,6 @@ int board_init(void)
return 0;
}
-int checkboard(void)
-{
- printf("Board: %s\n", CONFIG_BOARDNAME);
- return 0;
-}
-
int board_fit_config_name_match(const char *name)
{
if (gd->board_type == BOARD_TYPE_4 &&
diff --git a/board/aristainetos/common/Kconfig b/board/aristainetos/common/Kconfig
index 16c1325889..8f2561415b 100644
--- a/board/aristainetos/common/Kconfig
+++ b/board/aristainetos/common/Kconfig
@@ -1,8 +1,3 @@
-config BOARDNAME
- string "name of the board"
- help
- set the name of the board.
-
config SYS_BOARD_VERSION
int "select version of aristainetos board"
help
--
2.21.0
More information about the U-Boot
mailing list