summaryrefslogtreecommitdiff
path: root/board/freescale/p1022ds/spl.c
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2014-02-11 11:57:26 -0800
committerTom Rini <trini@ti.com>2014-02-21 11:06:13 -0500
commite38661634b3d60af80d85ce9eb570a45db4729ca (patch)
treea7a7f3272ccac9757c941c9c71525fd7adf5ccd5 /board/freescale/p1022ds/spl.c
parent6b1e1254f326940e5b65c7029f71b964bdf28fd4 (diff)
downloadu-boot-imx-e38661634b3d60af80d85ce9eb570a45db4729ca.zip
u-boot-imx-e38661634b3d60af80d85ce9eb570a45db4729ca.tar.gz
u-boot-imx-e38661634b3d60af80d85ce9eb570a45db4729ca.tar.bz2
common: Add get_effective_memsize() to memsize.c
This function has been around for powerpc. It is used for systems with memory more than CONFIG_MAX_MEM_MAPPED. In case of non-contiguous memory, this feature can limit U-boot to one block without going over the limit. Signed-off-by: York Sun <yorksun@freescale.com> Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'board/freescale/p1022ds/spl.c')
-rw-r--r--board/freescale/p1022ds/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/p1022ds/spl.c b/board/freescale/p1022ds/spl.c
index 7f151e3..7bd9d29 100644
--- a/board/freescale/p1022ds/spl.c
+++ b/board/freescale/p1022ds/spl.c
@@ -21,7 +21,7 @@ static const u32 sysclk_tbl[] = {
99999000, 11111000, 12499800, 13333200
};
-ulong get_effective_memsize(void)
+phys_size_t get_effective_memsize(void)
{
return CONFIG_SYS_L2_SIZE;
}