summaryrefslogtreecommitdiff
path: root/include/ide.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@pollux.denx.de>2007-08-28 17:39:14 +0200
committerHeiko Schocher <hs@pollux.denx.de>2007-08-28 17:39:14 +0200
commitf98984cb194bb34dbe1db9429d3b51133af30d07 (patch)
treefb9ea2be94607a89a36ce0e1a02279bb98aa20f1 /include/ide.h
parent3e66c078003607a7d1d214c15a5f262bc1b4032f (diff)
downloadu-boot-f98984cb194bb34dbe1db9429d3b51133af30d07.tar.gz
IDE: - make ide_inb () and ide_outb () "weak", so boards can
define there own I/O functions. (Needed for the pcs440ep board). - The default I/O Functions are again 8 Bit accesses. - Added CONFIG_CMD_IDE for the pcs440ep Board. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ide.h b/include/ide.h
index 6976a6c319..222f4f84e4 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -26,6 +26,8 @@
#define IDE_BUS(dev) (dev >> 1)
+#define ATA_CURR_BASE(dev) (CFG_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
+
#ifdef CONFIG_IDE_LED
/*