summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zoombini/mainboard.c
diff options
context:
space:
mode:
authorBob Moragues <moragues@google.com>2018-11-26 14:40:46 -0800
committerDuncan Laurie <dlaurie@chromium.org>2018-12-19 18:05:51 +0000
commit7f520c8fe6fc991df2c4e91f42843d4290744ebb (patch)
treea59278cfe21468ca6a0670304adb98f0c01222fe /src/mainboard/google/zoombini/mainboard.c
parentcb76069e871d503cd0d1687f87d047d4c7dfea64 (diff)
zoombini: remove support for deprecated zoombini board
Change-Id: Iab2737940f07afb4f5a29ff50e6cb2a22027c51b Signed-off-by: Bob Moragues <moragues@chromium.org> Reviewed-on: https://review.coreboot.org/c/30094 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/zoombini/mainboard.c')
-rw-r--r--src/mainboard/google/zoombini/mainboard.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/mainboard/google/zoombini/mainboard.c b/src/mainboard/google/zoombini/mainboard.c
deleted file mode 100644
index 96e1ac0190..0000000000
--- a/src/mainboard/google/zoombini/mainboard.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright 2017 Google Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <device/device.h>
-#include <ec/ec.h>
-#include <vendorcode/google/chromeos/chromeos.h>
-#include <nhlt.h>
-#include <arch/acpi.h>
-#include <baseboard/variants.h>
-
-static void mainboard_init(struct device *dev)
-{
- mainboard_ec_init();
-}
-
-static unsigned long mainboard_write_acpi_tables(struct device *device,
- unsigned long current, acpi_rsdp_t *rsdp)
-{
- uintptr_t start_addr;
- uintptr_t end_addr;
- struct nhlt *nhlt;
-
- start_addr = current;
-
- nhlt = nhlt_init();
-
- if (nhlt == NULL)
- return start_addr;
-
- variant_nhlt_init(nhlt);
-
- end_addr = nhlt_soc_serialize(nhlt, start_addr);
-
- if (end_addr != start_addr)
- acpi_add_table(rsdp, (void *)start_addr);
-
- return end_addr;
-}
-
-static void mainboard_enable(struct device *dev)
-{
- dev->ops->init = mainboard_init;
- dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;
- dev->ops->write_acpi_tables = mainboard_write_acpi_tables;
-}
-
-struct chip_operations mainboard_ops = {
- .enable_dev = mainboard_enable,
-};