Martin Roth has uploaded this change for review. ( https://review.coreboot.org/21717
Change subject: mb/amd/gardenia: Remove direct AGESA header includes ......................................................................
mb/amd/gardenia: Remove direct AGESA header includes
All AGESA headers should be included only through agesawrapper.h
Change-Id: I3c9ae7a435fadabf577f1f65ad4a6aa6234e9a29 Signed-off-by: Martin Roth martinroth@google.com --- M src/mainboard/amd/gardenia/BiosCallOuts.c M src/mainboard/amd/gardenia/OemCustomize.c M src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c M src/mainboard/amd/gardenia/bootblock/OemCustomize.c 4 files changed, 2 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/21717/1
diff --git a/src/mainboard/amd/gardenia/BiosCallOuts.c b/src/mainboard/amd/gardenia/BiosCallOuts.c index 1d06411..5a8eb19 100644 --- a/src/mainboard/amd/gardenia/BiosCallOuts.c +++ b/src/mainboard/amd/gardenia/BiosCallOuts.c @@ -13,9 +13,8 @@ * GNU General Public License for more details. */
-#include <AGESA.h> +#include <agesawrapper.h> #include <BiosCallOuts.h> -#include <FchPlatform.h> #include <soc/imc.h> #include <soc/southbridge.h> #include <stdlib.h> diff --git a/src/mainboard/amd/gardenia/OemCustomize.c b/src/mainboard/amd/gardenia/OemCustomize.c index 8bd8e7c..1cee585 100644 --- a/src/mainboard/amd/gardenia/OemCustomize.c +++ b/src/mainboard/amd/gardenia/OemCustomize.c @@ -13,9 +13,7 @@ * GNU General Public License for more details. */
-#include <AGESA.h> #include <agesawrapper.h> -#include <PlatformMemoryConfiguration.h>
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE
diff --git a/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c b/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c index b0a3e23..f084dfc 100644 --- a/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c +++ b/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c @@ -13,9 +13,8 @@ * GNU General Public License for more details. */
-#include <AGESA.h> +#include <agesawrapper.h> #include <BiosCallOuts.h> -#include <FchPlatform.h> #include <soc/southbridge.h> #include <stdlib.h>
diff --git a/src/mainboard/amd/gardenia/bootblock/OemCustomize.c b/src/mainboard/amd/gardenia/bootblock/OemCustomize.c index 52148fd..8f61442 100644 --- a/src/mainboard/amd/gardenia/bootblock/OemCustomize.c +++ b/src/mainboard/amd/gardenia/bootblock/OemCustomize.c @@ -13,9 +13,7 @@ * GNU General Public License for more details. */
-#include <AGESA.h> #include <agesawrapper.h> -#include <PlatformMemoryConfiguration.h>
#define FILECODE PROC_GNB_PCIE_FAMILY_0X15_F15PCIECOMPLEXCONFIG_FILECODE