summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/romstage.c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2018-09-14 21:19:29 -0500
committerMartin Roth <martinroth@google.com>2018-09-17 16:00:34 +0000
commit99416035fac228f138f3e291a47173b66954b452 (patch)
treec67a213acbd5114c5dc499514b741d10b96eca81 /src/mainboard/google/auron/romstage.c
parent66a1e8d4e3235a661bdeb410f8c2c7810d64c90a (diff)
downloadcoreboot-99416035fac228f138f3e291a47173b66954b452.tar.xz
google/auron: Clean up variant-specific romstage code
Use an empty weak function for variant_romstage_entry(), rather than having separate empty functions for boards which don't utilize it. Change-Id: I7a278ed716484bea377a5dd98d4a534502c8bab6 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/28612 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/auron/romstage.c')
-rw-r--r--src/mainboard/google/auron/romstage.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/auron/romstage.c b/src/mainboard/google/auron/romstage.c
index aedc33d3ed..aea8e211fa 100644
--- a/src/mainboard/google/auron/romstage.c
+++ b/src/mainboard/google/auron/romstage.c
@@ -25,6 +25,10 @@
#include <variant/spd.h>
#include "variant.h"
+__weak void variant_romstage_entry(struct romstage_params *rp)
+{
+}
+
void mainboard_romstage_entry(struct romstage_params *rp)
{
struct pei_data pei_data;
@@ -43,6 +47,6 @@ void mainboard_romstage_entry(struct romstage_params *rp)
/* Call into the real romstage main with this board's attributes. */
romstage_common(rp);
- /* Do variant-specific (read: Samus) init */
+ /* Do variant-specific init */
variant_romstage_entry(rp);
}