[U-Boot] [PATCH] ppc4xx: Convert lwmon5 board to generic board

Stefan Roese sr at denx.de
Thu Aug 13 12:29:41 CEST 2015


Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO
to Kconfig file.

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
---
 board/lwmon5/Kconfig     | 4 ++++
 include/configs/lwmon5.h | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/board/lwmon5/Kconfig b/board/lwmon5/Kconfig
index 90566d8..7b8c605 100644
--- a/board/lwmon5/Kconfig
+++ b/board/lwmon5/Kconfig
@@ -6,4 +6,8 @@ config SYS_BOARD
 config SYS_CONFIG_NAME
 	default "lwmon5"
 
+config DISPLAY_BOARDINFO
+	bool
+	default y
+
 endif
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index 513167e..2a50bfe 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -23,6 +23,8 @@
 #define CONFIG_440EPX		1		/* Specific PPC440EPx	*/
 #define CONFIG_440		1		/* ... PPC440 family	*/
 
+#define CONFIG_SYS_GENERIC_BOARD
+
 #ifdef CONFIG_LCD4_LWMON5
 #define	CONFIG_SYS_TEXT_BASE	0x01000000 /* SPL U-Boot TEXT_BASE */
 #define CONFIG_HOSTNAME		lcd4_lwmon5
-- 
2.4.8



More information about the U-Boot mailing list