]> git.ipfire.org Git - people/ms/u-boot.git/commit
make ide_led() a weak alias
authorPavel Herrmann <morpheus.ibis@gmail.com>
Sun, 7 Oct 2012 05:56:10 +0000 (05:56 +0000)
committerTom Rini <trini@ti.com>
Wed, 17 Oct 2012 14:59:09 +0000 (07:59 -0700)
commit19be2ea2ef41300fd720b229caa764d70de48297
tree37f43e7d2d721e1f95ad7055c52ddf3369f57056
parent28920b1fd297cb95ca3e7b6e782929158a8c0aa2
make ide_led() a weak alias

Make ide_led() a weak alias instead of global/local function/empty macro
based on CONFIG_IDE_LED value and/or board-specific CONFIGs, to get rid of
board-specific code in cmd_ide.c
Define dummy values to get rid of compoler errors in case where ide_led()
used to be an empty macro

Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
common/cmd_ide.c