diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-04-15 20:07:53 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-05-18 06:50:53 +0200 |
commit | e87564ffe7d0636699467b776a24adffb2f11cca (patch) | |
tree | b4c4aa66031cfd20f29714d044c67217a439aba2 /src/northbridge/amd/pi/Makefile.inc | |
parent | 61be3603f4b9f353e605d7b7c8d0d9f3b90f5636 (diff) |
binaryPI: Fix UMA calculations
Vendorcode decides already in AMD_INIT_POST the exact location
of UMA memory. To meet alignment requirements, it will extend
uma_memory_size. We cannot calculate base from size and TOP_MEM1,
but need to calculate size from base and TOP_MEM1 instead.
Also allows selection of UmaMode==UMA_SPECIFIED to manually set
amount of memory reserved for framebuffer.
Change-Id: I0c375e5da0dfef6cef0c50272356cd32a87b1ff6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19346
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/northbridge/amd/pi/Makefile.inc')
-rw-r--r-- | src/northbridge/amd/pi/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/amd/pi/Makefile.inc b/src/northbridge/amd/pi/Makefile.inc index 09bc2ad729..1cd0c420ed 100644 --- a/src/northbridge/amd/pi/Makefile.inc +++ b/src/northbridge/amd/pi/Makefile.inc @@ -25,4 +25,6 @@ romstage-y += def_callouts.c ramstage-y += agesawrapper.c ramstage-y += def_callouts.c +romstage-y += ramtop.c +ramstage-y += ramtop.c endif |