diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-03-27 11:46:38 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-13 17:13:46 -0700 |
commit | e99ccb488181d012248c6be30b2093e950319fc5 (patch) | |
tree | 3c9fefb4d458a349912aeb2ff548088a21101600 /include/asm-blackfin | |
parent | 20a14a42a25f72e379f38460b8a8484667536795 (diff) | |
download | u-boot-imx-e99ccb488181d012248c6be30b2093e950319fc5.zip u-boot-imx-e99ccb488181d012248c6be30b2093e950319fc5.tar.gz u-boot-imx-e99ccb488181d012248c6be30b2093e950319fc5.tar.bz2 |
Introduce phys_size_t and move phys_addr_t into asm/types.h
Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's
that have larger physical addresses like 44x, 85xx, and 86xx.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r-- | include/asm-blackfin/io.h | 2 | ||||
-rw-r--r-- | include/asm-blackfin/types.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h index 2149685..da58914 100644 --- a/include/asm-blackfin/io.h +++ b/include/asm-blackfin/io.h @@ -45,8 +45,6 @@ extern void cf_outb(unsigned char val, volatile unsigned char *addr); * 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) #define MAP_WRBACK (0) diff --git a/include/asm-blackfin/types.h b/include/asm-blackfin/types.h index 9fd8e03..2160ba0 100644 --- a/include/asm-blackfin/types.h +++ b/include/asm-blackfin/types.h @@ -78,6 +78,9 @@ typedef unsigned long long u64; typedef u32 dma_addr_t; +typedef unsigned long phys_addr_t; +typedef unsigned long phys_size_t; + #endif #endif |