summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-09 22:03:04 -0600
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:05:52 -0600
commitb67305120aaf268a6140125346678166d14f1f47 (patch)
treed1b473cae13d682b648296450f362a6f1b8157df /board/freescale
parentad97dce18445ff05bf326094e691a01aa95aa8dc (diff)
downloadu-boot-imx-b67305120aaf268a6140125346678166d14f1f47.zip
u-boot-imx-b67305120aaf268a6140125346678166d14f1f47.tar.gz
u-boot-imx-b67305120aaf268a6140125346678166d14f1f47.tar.bz2
85xx: Fix bug in device tree setup in 36-bit physical confg
In the 36-bit physical config for MPC8572DS when need the start address of memory and it size to be kept in phys_*_t instead of a ulong since we support >4G of memory in the config and ulong cant represent that. Otherwise we end up seeing the memory node in the device tree reporting back we have memory starting @ 0 and of size 0. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mpc8572ds/mpc8572ds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c
index d7e9f2f..c8b3966 100644
--- a/board/freescale/mpc8572ds/mpc8572ds.c
+++ b/board/freescale/mpc8572ds/mpc8572ds.c
@@ -556,7 +556,8 @@ extern void ft_fsl_pci_setup(void *blob, const char *pci_alias,
void ft_board_setup(void *blob, bd_t *bd)
{
- ulong base, size;
+ phys_addr_t base;
+ phys_size_t size;
ft_cpu_setup(blob, bd);