Re: [U-Boot] [PATCH] Consolidate strmhz() implementation

2008-08-20 Thread Haavard Skinnemoen
Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] wrote: I've seen 2 others functions which are commom. Could we use the patch that reply to this message instead? The only downside that I can think of is that configuration that truly don't require strmhz() and don't use --gc-sections will

[U-Boot] [PATCH] Consolidate strmhz() implementation

2008-08-18 Thread Haavard Skinnemoen
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by: Haavard Skinnemoen [EMAIL