summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-11-10 10:26:53 -0700
committerSimon Glass <sjg@chromium.org>2013-11-21 16:54:26 -0700
commit0eb2acee394b16dd734f5f48b2cbf2f22065d060 (patch)
treecd502638e2cc88710bf27d591679bd284906ad7b /arch/sandbox
parentcbe5cdfcd31633edce4ee78ebc008b922de571e3 (diff)
downloadtalos-obmc-uboot-0eb2acee394b16dd734f5f48b2cbf2f22065d060.tar.gz
talos-obmc-uboot-0eb2acee394b16dd734f5f48b2cbf2f22065d060.zip
sandbox: config: Don't use 64-bit physical memory
Sandbox uses an emulated memory map which is quite small. We don't need the CONFIG_PHYS_64BIT option since we can address memory with a 32-bit offset into our ram_buf. Adjust the phys_addr_t and phys_size_t types accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h
index 88c84bae7c..6d3eb1f3de 100644
--- a/arch/sandbox/include/asm/types.h
+++ b/arch/sandbox/include/asm/types.h
@@ -48,8 +48,8 @@ typedef unsigned long long u64;
#define BITS_PER_LONG CONFIG_SANDBOX_BITS_PER_LONG
typedef unsigned long dma_addr_t;
-typedef unsigned long phys_addr_t;
-typedef unsigned long phys_size_t;
+typedef u32 phys_addr_t;
+typedef u32 phys_size_t;
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud