diff options
author | York Sun <yorksun@freescale.com> | 2014-02-11 11:57:26 -0800 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-21 11:06:13 -0500 |
commit | e38661634b3d60af80d85ce9eb570a45db4729ca (patch) | |
tree | a7a7f3272ccac9757c941c9c71525fd7adf5ccd5 /arch/powerpc/cpu/mpc85xx | |
parent | 6b1e1254f326940e5b65c7029f71b964bdf28fd4 (diff) | |
download | talos-obmc-uboot-e38661634b3d60af80d85ce9eb570a45db4729ca.tar.gz talos-obmc-uboot-e38661634b3d60af80d85ce9eb570a45db4729ca.zip |
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 'arch/powerpc/cpu/mpc85xx')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/traps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/traps.c b/arch/powerpc/cpu/mpc85xx/traps.c index 3ef6e4ae16..24adbc3078 100644 --- a/arch/powerpc/cpu/mpc85xx/traps.c +++ b/arch/powerpc/cpu/mpc85xx/traps.c @@ -35,7 +35,6 @@ extern unsigned long search_exception_table(unsigned long); * amount of memory on the system if we're unable to keep all * the memory mapped in. */ -extern ulong get_effective_memsize(void); #define END_OF_MEM (gd->bd->bi_memstart + get_effective_memsize()) static __inline__ void set_tsr(unsigned long val) |