mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
6b1e1254f3
commit
e38661634b
13 changed files with 21 additions and 39 deletions
|
@ -461,6 +461,7 @@ void api_init (void);
|
|||
|
||||
/* common/memsize.c */
|
||||
long get_ram_size (long *, long);
|
||||
phys_size_t get_effective_memsize(void);
|
||||
|
||||
/* $(BOARD)/$(BOARD).c */
|
||||
void reset_phy (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue