From 2df118cdf04c72156ca92b940063288968ca7cea Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Fri, 5 May 2017 16:15:31 -0600 Subject: amd/gardenia: Switch to soc/amd/stoneyridge Switch Garnenia mainboard to single soc/ directory structure. Change-Id: I095804d603bcccf324d3244965081a9dccba62ae Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/19725 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/amd/gardenia/romstage.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainboard/amd/gardenia/romstage.c') diff --git a/src/mainboard/amd/gardenia/romstage.c b/src/mainboard/amd/gardenia/romstage.c index 75674a090a..678e1fbf83 100644 --- a/src/mainboard/amd/gardenia/romstage.c +++ b/src/mainboard/amd/gardenia/romstage.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) { @@ -35,9 +35,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) if (!cpu_init_detectedx && boot_cpu()) { post_code(0x30); -#if IS_ENABLED(CONFIG_HUDSON_UART) - configure_hudson_uart(); -#endif + if (IS_ENABLED(CONFIG_STONEYRIDGE_UART)) + configure_hudson_uart(); + post_code(0x31); console_init(); } -- cgit v1.2.3