arch/x86: Use fixed size limit with RELOCATABLE_RAMSTAGE
With RELOCATABLE_RAMSTAGE, variables RAMBASE and RAMTOP have no meaning any more. Change-Id: I711fe98a399177c2d3cb2a9dcdefba61031fb76d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26812 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
39d0e2a2cf
commit
d30c129ad4
|
@ -26,7 +26,8 @@ SECTIONS
|
|||
* conditionalize with macros.
|
||||
*/
|
||||
#if ENV_RAMSTAGE
|
||||
RAMSTAGE(CONFIG_RAMBASE, CONFIG_RAMTOP - CONFIG_RAMBASE)
|
||||
RAMSTAGE(CONFIG_RAMBASE, (CONFIG_RELOCATABLE_RAMSTAGE ? 8M :
|
||||
CONFIG_RAMTOP - CONFIG_RAMBASE))
|
||||
|
||||
#elif ENV_ROMSTAGE
|
||||
/* The 1M size is not allocated. It's just for basic size checking.
|
||||
|
|
Loading…
Reference in New Issue