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>
This commit is contained in:
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user