
On 12/07/2015 10:20 AM, Simon Glass wrote:
On 7 December 2015 at 11:08, York Sun yorksun@freescale.com wrote:
MC and debug server are not board-specific. Instead of reserving memory in each board file, a weak function is introduced in board_f.c to replace macro CONFIG_SYS_MEM_TOP_HIDE for more flexibility. Legacy use of this macro is still supported. Move the reservation calculation to SoC file. Reduce debug server memory by 2MB to make room for secure memory.
In the system with MC and debug server, the top of u-boot memory is not the end of memory. PRAM is not used for this reservation.
Signed-off-by: York Sun yorksun@freescale.com
Changes in v4: Rebase to current master branch
Reviewed-by: Simon Glass sjg@chromium.org
If for any reason you issue a v5 can you please move the common change (board_f.c) to a separate patch?
Right. It makes sense to separate the change. I will send v5.
York