summaryrefslogtreecommitdiff
path: root/include/asm-sparc/io.h
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2008-07-09 12:34:11 +0000
committerWolfgang Denk <wd@denx.de>2008-07-10 00:51:16 +0200
commit21ae6ca0315afdbc65dc3e95ffd5763e6773d030 (patch)
treea18adb5c99bc15427deae79349b877e0e2c424f5 /include/asm-sparc/io.h
parent11ccc33fa21acce108f6b4a6936e3271af904c64 (diff)
downloadu-boot-imx-21ae6ca0315afdbc65dc3e95ffd5763e6773d030.zip
u-boot-imx-21ae6ca0315afdbc65dc3e95ffd5763e6773d030.tar.gz
u-boot-imx-21ae6ca0315afdbc65dc3e95ffd5763e6773d030.tar.bz2
SPARC: Build error fix
(introduced by commit 391fd93ab23e15ab3dd58a54f5b609024009c378) This patch makes SPARC targets build again. It is caused by phys_addr_t and phys_size_t being defined in the wrong header file. include/lmb.h need those typedefs to build. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'include/asm-sparc/io.h')
-rw-r--r--include/asm-sparc/io.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-sparc/io.h b/include/asm-sparc/io.h
index 2a27d06..ede0b1a 100644
--- a/include/asm-sparc/io.h
+++ b/include/asm-sparc/io.h
@@ -70,7 +70,6 @@
* that can be used to access the memory range with the caching
* properties specified by "flags".
*/
-typedef unsigned long phys_addr_t;
#define MAP_NOCACHE (0)
#define MAP_WRCOMBINE (0)