amd/hudson/agesa: Fix position of hudson_fwm
commit8c42424ec1669036fb4a7be4eb7ec0915bd6966c
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Wed, 21 Dec 2016 19:57:13 +0000 (21 20:57 +0100)
committerMartin Roth <martinroth@google.com>
Tue, 10 Jan 2017 16:21:00 +0000 (10 17:21 +0100)
tree2a74ea47803f927ecce3ff7522ded95fb9374495
parentbaae959a639712ac34b74b307b9fad5cc8b2c663
amd/hudson/agesa: Fix position of hudson_fwm

AMDFWTOOL calculates the location of the amdfw based on the
CONFIG_ROM_SIZE. If HUDSON_FWM_POSITION does not match that location the
resulting rom does not boot.

This patch forces the position of HUDSON_FWM_POSITION to be the
position calculated by amdfwrom.

Tested on a Bettong derivative with a 16MiB flash.

Change-Id: I3ce69f77174327c18ff97e551c0665c9f633991e
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Reviewed-on: https://review.coreboot.org/17934
Tested-by: build bot (Jenkins)
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
src/southbridge/amd/agesa/hudson/Kconfig
src/southbridge/amd/agesa/hudson/Makefile.inc