aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/mainboard.c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2018-09-14 21:39:00 -0500
committerMartin Roth <martinroth@google.com>2018-09-17 16:00:41 +0000
commit1b25f1b47c57e32f2a27480e12daa61331e456a3 (patch)
tree92b2f22a72f475155bd6f988ae3016e79e44b312 /src/mainboard/google/auron/mainboard.c
parent99416035fac228f138f3e291a47173b66954b452 (diff)
google/buddy: Add board as variant of google/auron
Add google/buddy (Acer Chromeboase 24) as a variant of google/auron, with the following changes: - add buddy-specific variant code - add handling to auron for buddy's lan init, which no other variants have - add handling to auron's mainboard ACPI due buddy having different PCIe port assigments than all other variants Ported from Chromium branch firmware-buddy-6301.202.B, commit ebb82ce [Buddy: Lock management engine + SPI descriptor] Test: build/boot Linux on google/buddy using SeaBIOS and Tianocore payloads Change-Id: Ib76eef47677b72ddaef81a2decef189a5f20c20a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/28613 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/auron/mainboard.c')
-rw-r--r--src/mainboard/google/auron/mainboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/auron/mainboard.c b/src/mainboard/google/auron/mainboard.c
index 9eece731b0..2cbd0e78c2 100644
--- a/src/mainboard/google/auron/mainboard.c
+++ b/src/mainboard/google/auron/mainboard.c
@@ -20,9 +20,14 @@
#include "variant.h"
+__weak void lan_init(void)
+{
+}
+
static void mainboard_init(struct device *dev)
{
mainboard_ec_init();
+ lan_init();
}
static int mainboard_smbios_data(struct device *dev, int *handle,