]> git.sur5r.net Git - u-boot/commit
common: Add get_effective_memsize() to memsize.c
authorYork Sun <yorksun@freescale.com>
Tue, 11 Feb 2014 19:57:26 +0000 (11:57 -0800)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 16:06:13 +0000 (11:06 -0500)
commite38661634b3d60af80d85ce9eb570a45db4729ca
treea7a7f3272ccac9757c941c9c71525fd7adf5ccd5
parent6b1e1254f326940e5b65c7029f71b964bdf28fd4
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>
13 files changed:
arch/arm/lib/board.c
arch/powerpc/cpu/mpc512x/traps.c
arch/powerpc/cpu/mpc85xx/traps.c
arch/powerpc/cpu/mpc86xx/traps.c
arch/powerpc/lib/board.c
arch/powerpc/lib/bootm.c
board/freescale/c29xpcie/spl.c
board/freescale/p1022ds/spl.c
board/freescale/p1_p2_rdb_pc/spl.c
common/board_f.c
common/cmd_log.c
common/memsize.c
include/common.h