public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc4xx: Convert lwmon5 board to generic board
@ 2015-08-13 10:29 Stefan Roese
  2015-08-14 20:24 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2015-08-13 10:29 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Masahiro Yamada <yamada.masahiro@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] ppc4xx: Convert lwmon5 board to generic board
  2015-08-13 10:29 [U-Boot] [PATCH] ppc4xx: Convert lwmon5 board to generic board Stefan Roese
@ 2015-08-14 20:24 ` Tom Rini
  2015-08-17  6:39   ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2015-08-14 20:24 UTC (permalink / raw)
  To: u-boot

On Thu, Aug 13, 2015 at 12:29:41PM +0200, Stefan Roese wrote:

> Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO
> to Kconfig file.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>

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'

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] ppc4xx: Convert lwmon5 board to generic board
  2015-08-14 20:24 ` [U-Boot] " Tom Rini
@ 2015-08-17  6:39   ` Stefan Roese
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2015-08-17  6:39 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On 14.08.2015 22:24, Tom Rini wrote:
> On Thu, Aug 13, 2015 at 12:29:41PM +0200, Stefan Roese wrote:
>
>> Add CONFIG_SYS_GENERIC_BOARD to lwmon5.h and CONFIG_DISPLAY_BOARDINFO
>> to Kconfig file.
>>
>> Signed-off-by: Stefan Roese <sr@denx.de>
>> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
>
> 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'

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-17  6:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-13 10:29 [U-Boot] [PATCH] ppc4xx: Convert lwmon5 board to generic board Stefan Roese
2015-08-14 20:24 ` [U-Boot] " Tom Rini
2015-08-17  6:39   ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox