Michał Żygowski uploaded patch set #6 to this change.

View Change

amdblocks/acpimmio: Unify BIOSRAM usage

All AMD CPU families supported in coreboot have BIOSRAM space. Looking at
the source code, every family could have the same API to save and restore
cbmem top or UMA base and size.

Unify BIOSRAM layout and add implementation for cbmem top and UMA storing.
Also replace the existing implementation of cbmem top and UMA with the
BIOSRAM access.

TEST=boot PC Engines apu1 and apu2

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I69a03e4f01d7fb2ffc9f8b5af73d7e4e7ec027da
---
M src/northbridge/amd/pi/Makefile.inc
D src/northbridge/amd/pi/ramtop.c
M src/soc/amd/common/block/acpimmio/Makefile.inc
A src/soc/amd/common/block/acpimmio/biosram.c
A src/soc/amd/common/block/include/amdblocks/biosram.h
M src/soc/amd/common/block/pi/agesawrapper.c
M src/soc/amd/picasso/include/soc/southbridge.h
M src/soc/amd/picasso/memmap.c
M src/soc/amd/picasso/northbridge.c
M src/soc/amd/picasso/southbridge.c
M src/soc/amd/stoneyridge/include/soc/southbridge.h
M src/soc/amd/stoneyridge/memmap.c
M src/soc/amd/stoneyridge/northbridge.c
M src/soc/amd/stoneyridge/southbridge.c
M src/southbridge/amd/agesa/hudson/ramtop.c
M src/southbridge/amd/cimx/sb800/ramtop.c
16 files changed, 94 insertions(+), 220 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/37402/6

To view, visit change 37402. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I69a03e4f01d7fb2ffc9f8b5af73d7e4e7ec027da
Gerrit-Change-Number: 37402
Gerrit-PatchSet: 6
Gerrit-Owner: Michał Żygowski <michal.zygowski@3mdeb.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski@3mdeb.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel@silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset