amd/pi/hudson: Reduce amdfw space requirement
commit7fd0bc84ffe3384d0f5b4e8a135ae042ae3aa929
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Fri, 17 Mar 2017 21:07:49 +0000 (17 15:07 -0600)
committerMartin Roth <martinroth@google.com>
Tue, 28 Mar 2017 20:30:36 +0000 (28 22:30 +0200)
treef977caa590ba187c495c34cb8ab38f5ffe3faa10
parentc6be0d854a99120e0faa224af23e25679790c419
amd/pi/hudson: Reduce amdfw space requirement

Change the current implementation so that multiple PSP directory
structures are not included, saving 448 KB.

AMD created a mechanism so that multiple generations of APUs, in
identical packages, may be supportable in one BIOS image.  The PSP
identifies the correct directory table by checking one of two
pointers in the Embedded Firmware structure.  Coreboot doesn't
implement this capability, however it has been constructing
amdfw.rom with two identical directory tables and two copies of
each PSP blob.

Tested on Bettong (Merlin Falcon / Carrizo) and Jadeite (Stoney).

Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Original-Reviewed-by: Marc Jones <marcj303@gmail.com>
(cherry picked from commit 11dfc3f621344db66d92b61d72927128ea48685f)

Change-Id: I139f3bfdb319af803fef64e7bd848e95945f41aa
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/18990
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
src/southbridge/amd/pi/hudson/Makefile.inc