diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2018-09-14 21:19:29 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-17 16:00:34 +0000 |
commit | 99416035fac228f138f3e291a47173b66954b452 (patch) | |
tree | c67a213acbd5114c5dc499514b741d10b96eca81 /src/mainboard/google/auron/variants | |
parent | 66a1e8d4e3235a661bdeb410f8c2c7810d64c90a (diff) |
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/variants')
-rw-r--r-- | src/mainboard/google/auron/variants/auron_paine/variant.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/auron/variants/auron_yuna/variant.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/mainboard/google/auron/variants/auron_paine/variant.c b/src/mainboard/google/auron/variants/auron_paine/variant.c index f1af14d53c..b924976d06 100644 --- a/src/mainboard/google/auron/variants/auron_paine/variant.c +++ b/src/mainboard/google/auron/variants/auron_paine/variant.c @@ -12,7 +12,6 @@ */ #include <smbios.h> -#include <soc/romstage.h> #include <variant/onboard.h> #include <mainboard/google/auron/variant.h> @@ -32,8 +31,3 @@ int variant_smbios_data(device_t dev, int *handle, return len; } - -void variant_romstage_entry(struct romstage_params *rp) -{ - /* N/A for boards other than SAMUS */ -} diff --git a/src/mainboard/google/auron/variants/auron_yuna/variant.c b/src/mainboard/google/auron/variants/auron_yuna/variant.c index f1af14d53c..b924976d06 100644 --- a/src/mainboard/google/auron/variants/auron_yuna/variant.c +++ b/src/mainboard/google/auron/variants/auron_yuna/variant.c @@ -12,7 +12,6 @@ */ #include <smbios.h> -#include <soc/romstage.h> #include <variant/onboard.h> #include <mainboard/google/auron/variant.h> @@ -32,8 +31,3 @@ int variant_smbios_data(device_t dev, int *handle, return len; } - -void variant_romstage_entry(struct romstage_params *rp) -{ - /* N/A for boards other than SAMUS */ -} |