change all versions of input_data() and output_data() to global weak aliases
authorPavel Herrmann <morpheus.ibis@gmail.com>
Tue, 9 Oct 2012 07:04:39 +0000 (07:04 +0000)
committerTom Rini <trini@ti.com>
Wed, 17 Oct 2012 14:59:08 +0000 (07:59 -0700)
commitf5b82c0f9c34ded68e346a0fe7ad13c3ff63f573
tree1c2c65a60dea8b4f69279e9acbd37262445ccdad
parente4148c1165d11807e51a9587716e6a513ce1c021
change all versions of input_data() and output_data() to global weak aliases

This changes input_data() and friends from static function to global symbols
under weak alias, to enable board specific overrides (and therefore get rid of
board-specific code in cmd_ide.c)
Also declare ide_bus_offset in the header file, so other files can use
ATA_CURR_BASE as well.

Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
board/esd/cpci750/ide.c
board/linkstation/ide.c
board/pcs440ep/pcs440ep.c
common/cmd_ide.c
include/ide.h