diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2008-07-09 12:34:11 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 00:51:16 +0200 |
commit | 21ae6ca0315afdbc65dc3e95ffd5763e6773d030 (patch) | |
tree | a18adb5c99bc15427deae79349b877e0e2c424f5 /include/asm-sparc/types.h | |
parent | 11ccc33fa21acce108f6b4a6936e3271af904c64 (diff) | |
download | u-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/types.h')
-rw-r--r-- | include/asm-sparc/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc/types.h b/include/asm-sparc/types.h index 69f93d6..2cf974a 100644 --- a/include/asm-sparc/types.h +++ b/include/asm-sparc/types.h @@ -65,6 +65,9 @@ typedef unsigned long long u64; /* DMA addresses are 32-bits wide */ typedef u32 dma_addr_t; +typedef unsigned long phys_addr_t; +typedef unsigned long phys_size_t; + #endif /* __KERNEL__ */ #endif /* __ASSEMBLY__ */ |