Revert "generic-board: allow showing custom board info"
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 16 Nov 2016 16:49:19 +0000 (17:49 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Nov 2016 20:10:32 +0000 (15:10 -0500)
Drop CONFIG_CUSTOM_BOARDINFO as it is not Kconfig compliant and anyway
not really used anywhere plus the upcoming weak show_board_info()
approach seems much superior.

This reverts commit a9ad18c9d5fe2554753b0f9a52adfd5ebce61147.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
common/board_info.c

index bd5dcfa..6afe98e 100644 (file)
@@ -17,7 +17,7 @@ int __weak checkboard(void)
  */
 int show_board_info(void)
 {
-#if defined(CONFIG_OF_CONTROL) && !defined(CONFIG_CUSTOM_BOARDINFO)
+#ifdef CONFIG_OF_CONTROL
        DECLARE_GLOBAL_DATA_PTR;
        const char *model;