summaryrefslogtreecommitdiff
path: root/include/asm-microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-07-11 10:10:31 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 15:19:35 +0200
commit53ea981c3124b13c137c2d10e975b7c6672266e0 (patch)
tree36cb7495ef1a1e3b82ea8a0eaff2ac34d381d812 /include/asm-microblaze
parentdbf3dfb386a2d5d2381814e39985ab2e21894550 (diff)
downloadu-boot-imx-53ea981c3124b13c137c2d10e975b7c6672266e0.zip
u-boot-imx-53ea981c3124b13c137c2d10e975b7c6672266e0.tar.gz
u-boot-imx-53ea981c3124b13c137c2d10e975b7c6672266e0.tar.bz2
microblaze: Clean uartlite driver
Redesign uartlite driver to in_be32 and out_be32 macros Fix missing header in io.h Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/asm-microblaze')
-rw-r--r--include/asm-microblaze/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-microblaze/io.h b/include/asm-microblaze/io.h
index aa37a60..8804724 100644
--- a/include/asm-microblaze/io.h
+++ b/include/asm-microblaze/io.h
@@ -16,6 +16,8 @@
#ifndef __MICROBLAZE_IO_H__
#define __MICROBLAZE_IO_H__
+#include <asm/types.h>
+
#define IO_SPACE_LIMIT 0xFFFFFFFF
#define readb(addr) \