Most architectures don't have symbols "in16"/"out16" defined. Only Microblaze/PowerPC/Spark architectures do have them defined.
At the same time there're much more common macros "readw"/"writew" for 16-bit data access defined in most of architectures (in linux kernel header "io.h"). So use of "readw"/"writew" makes it possible to build this driver for virtually any architecture. Signed-off-by: Alexey Brodkin <alexey.brod...@gmail.com> --- drivers/block/systemace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c index 88561a7..32c9169 100644 --- a/drivers/block/systemace.c +++ b/drivers/block/systemace.c @@ -67,7 +67,7 @@ static void ace_writew(u16 val, unsigned off) #endif } else - out16(base + off, val); + writew(val, base + off); } static u16 ace_readw(unsigned off) @@ -80,7 +80,7 @@ static u16 ace_readw(unsigned off) #endif } else - return in16(base + off); + return readw(base + off); } static unsigned long systemace_read(int dev, unsigned long start, -- 1.7.10.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot