switch-coreboot/src
Kyösti Mälkki 5413dfd0f4 UPSTREAM: AGESA: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: Ie72f645e841d758ad4a275c39111c3a785ddd883
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 61be3603f4
Original-Change-Id: I2514c70a331c7fbf0056f22bf64f19c9374754c0
Original-Signed-off-by: Kysti Mlkki <kyosti.malkki@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/19328
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/508778
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2017-05-18 18:07:13 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: CBMEM: Add config CBMEM_TOP_BACKUP 2017-05-18 18:07:12 -07:00
commonlib UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00
console UPSTREAM: console: rework log level to not be reliant on ROMSTAGE_CONST 2017-04-26 13:36:55 -07:00
cpu UPSTREAM: AMD MTRR: Add common add_uma_resource_below_tolm() 2017-05-18 18:07:12 -07:00
device UPSTREAM: lib/edid.c: Allow use of when not NGI 2017-05-07 07:41:12 -07:00
drivers UPSTREAM: drivers/pc80/rtc: Rename mc146818rtc_early.c -> _romcc.c 2017-05-15 08:17:53 -07:00
ec UPSTREAM: mb/lenovo/x201: Add support for ThinkLight 2017-05-15 08:17:44 -07:00
include UPSTREAM: AMD MTRR: Add common add_uma_resource_below_tolm() 2017-05-18 18:07:12 -07:00
lib UPSTREAM: lib/edid: Save the display ASCII string 2017-05-07 07:41:13 -07:00
mainboard UPSTREAM: google/scarlet: Enable innolux,p079zca MIPI panel 2017-05-18 18:07:11 -07:00
northbridge UPSTREAM: AGESA: Fix UMA calculations 2017-05-18 18:07:13 -07:00
soc UPSTREAM: intel/common/block/i2c: Add common block for I2C and use the same in SoCs 2017-05-18 18:07:12 -07:00
southbridge UPSTREAM: AGESA: Fix UMA calculations 2017-05-18 18:07:13 -07:00
superio UPSTREAM: superio/nuvoton: Make SuperIO config functions externally available 2017-05-15 08:17:43 -07:00
vboot UPSTREAM: vboot: Separate board name and version number in FWID with a dot 2017-05-02 20:24:01 -07:00
vendorcode UPSTREAM: vendorcode/intel/fsp/fsp2_0/glk: Add FSP header files for GLK 2017-05-15 08:17:48 -07:00
Kconfig UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00