diff options
author | Heiko Schocher <hs@pollux.denx.de> | 2007-08-28 17:39:14 +0200 |
---|---|---|
committer | Heiko Schocher <hs@pollux.denx.de> | 2007-08-28 17:39:14 +0200 |
commit | f98984cb194bb34dbe1db9429d3b51133af30d07 (patch) | |
tree | fb9ea2be94607a89a36ce0e1a02279bb98aa20f1 /include/asm-ppc/io.h | |
parent | 3e66c078003607a7d1d214c15a5f262bc1b4032f (diff) | |
download | u-boot-imx-f98984cb194bb34dbe1db9429d3b51133af30d07.zip u-boot-imx-f98984cb194bb34dbe1db9429d3b51133af30d07.tar.gz u-boot-imx-f98984cb194bb34dbe1db9429d3b51133af30d07.tar.bz2 |
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/asm-ppc/io.h')
-rw-r--r-- | include/asm-ppc/io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/io.h b/include/asm-ppc/io.h index 03289bc..11dfa1c 100644 --- a/include/asm-ppc/io.h +++ b/include/asm-ppc/io.h @@ -13,6 +13,9 @@ #define SIO_CONFIG_RA 0x398 #define SIO_CONFIG_RD 0x399 +#ifndef _IO_BASE +#define _IO_BASE 0 +#endif #define readb(addr) in_8((volatile u8 *)(addr)) #define writeb(b,addr) out_8((volatile u8 *)(addr), (b)) |