]> git.dujemihanovic.xyz Git - u-boot.git/commit
Consolidate strmhz() implementation
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 18 Aug 2008 11:41:27 +0000 (13:41 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 20 Aug 2008 23:52:49 +0000 (01:52 +0200)
commit0768b7a872964085eece8d5e9fec9175e9deb161
treefe9fcd3e6264f6eb075b7c2eb799221556e4f0c6
parenta928d0df211f1d829308d335d19be3ca42558dfc
Consolidate strmhz() implementation

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 <haavard.skinnemoen@atmel.com>
include/common.h
lib_arm/board.c
lib_generic/Makefile
lib_generic/strmhz.c [new file with mode: 0644]
lib_i386/board.c
lib_m68k/board.c
lib_ppc/board.c