ppc4xx: Convert lwmon5 board to generic board
PATCH 1/1 ppc4xx: Convert lwmon5 board to generic board
Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO to Kconfig file.
--- board/lwmon5/Kconfig | 4 ++++ include/configs/lwmon5.h | 2 ++ 2 files changed, 6 insertions(+)
board/lwmon5/Kconfig +4 -0
@@ -6,4 +6,8 @@ config SYS_BOARD config SYS_CONFIG_NAME default "lwmon5" +config DISPLAY_BOARDINFO + bool + default y + endif
include/configs/lwmon5.h +2 -0
@@ -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
Signature · 1 line
2.4.8
Quoted 5 lines · Stefan Roese
Add
CONFIG_SYS_GENERIC_BOARDtolwmon5.handCONFIG_DISPLAY_BOARDINFOtoKconfigfile.Signed-off-by Stefan Roese <[email protected]>Cc Masahiro Yamada <[email protected]>
With this:
+(lcd4_lwmon5) arch/powerpc/cpu/ppc4xx/start.o: In function `_start':
+(lcd4_lwmon5) build/../arch/powerpc/cpu/ppc4xx/start.S:765: undefined reference to `board_init_f_mem'
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150814/0c0bfc00/attachment.sig>
Hi Tom,
Quoted 11 lines · Tom Rini
Quoted 5 lines · Stefan Roese
Add
CONFIG_SYS_GENERIC_BOARDtolwmon5.handCONFIG_DISPLAY_BOARDINFOtoKconfigfile.Signed-off-by Stefan Roese <[email protected]>Cc Masahiro Yamada <[email protected]>With this:
(quoted diff) +2
-0+(lcd4_lwmon5) arch/powerpc/cpu/ppc4xx/start.o: In function `_start': +(lcd4_lwmon5) build/../arch/powerpc/cpu/ppc4xx/start.S:765: undefined
Quoted 1 line
reference to `board_init_f_mem'
Ah, right. The lcd4_lwmon5 variant enables SPL and is not converted to generic-board this easily. Fixing this will most likely need a bit more work, so lets remove lwmon5 now. And once I find the time to fix this, I'll add it back in.
Thanks,
Stefan