summaryrefslogtreecommitdiff
path: root/board/esd
diff options
context:
space:
mode:
authorPavel Herrmann <morpheus.ibis@gmail.com>2012-10-09 07:04:39 +0000
committerTom Rini <trini@ti.com>2012-10-17 07:59:08 -0700
commitf5b82c0f9c34ded68e346a0fe7ad13c3ff63f573 (patch)
tree1c2c65a60dea8b4f69279e9acbd37262445ccdad /board/esd
parente4148c1165d11807e51a9587716e6a513ce1c021 (diff)
downloadu-boot-imx-f5b82c0f9c34ded68e346a0fe7ad13c3ff63f573.zip
u-boot-imx-f5b82c0f9c34ded68e346a0fe7ad13c3ff63f573.tar.gz
u-boot-imx-f5b82c0f9c34ded68e346a0fe7ad13c3ff63f573.tar.bz2
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>
Diffstat (limited to 'board/esd')
-rw-r--r--board/esd/cpci750/ide.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/esd/cpci750/ide.c b/board/esd/cpci750/ide.c
index aa001df..4ef10e7 100644
--- a/board/esd/cpci750/ide.c
+++ b/board/esd/cpci750/ide.c
@@ -30,7 +30,6 @@
#include <ide.h>
#include <pci.h>
-extern ulong ide_bus_offset[CONFIG_SYS_IDE_MAXBUS];
int cpci_hd_type;
int ata_device(int dev)