From 531023285ea4108d5b847625739d76992ce39200 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 19 May 2023 15:32:35 +0200 Subject: soc/intel/quark: Drop support As announced in the 4.20 release notes, support for the Intel Quark SoC is moved to the 4.20 branch and dropped from master. Change-Id: I8a1ca7a2092aaeaea9c72eac5a8dd8f7d72e8f09 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/75341 Tested-by: build bot (Jenkins) Reviewed-by: ron minnich Reviewed-by: Martin L Roth --- src/soc/intel/quark/lpc.c | 56 ----------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 src/soc/intel/quark/lpc.c (limited to 'src/soc/intel/quark/lpc.c') diff --git a/src/soc/intel/quark/lpc.c b/src/soc/intel/quark/lpc.c deleted file mode 100644 index 115a7b9ace..0000000000 --- a/src/soc/intel/quark/lpc.c +++ /dev/null @@ -1,56 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include -#include -#include -#include -#include -#include -#include - -static void pmc_read_resources(struct device *dev) -{ - unsigned int index = 0; - struct resource *res; - - /* Get the normal PCI resources of this device. */ - pci_dev_read_resources(dev); - - /* GPE0 */ - res = new_resource(dev, index++); - res->base = GPE0_BASE_ADDRESS; - res->size = GPE0_SIZE; - res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED; - - /* PM1BLK */ - res = new_resource(dev, index++); - res->base = PM1BLK_BASE_ADDRESS; - res->size = PM1BLK_SIZE; - res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED; - - /* Legacy GPIO */ - res = new_resource(dev, index++); - res->base = LEGACY_GPIO_BASE_ADDRESS; - res->size = LEGACY_GPIO_SIZE; - res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED; -} - -/* Implemented just to fill FADT SCI_INT as 0. */ -void ioapic_get_sci_pin(u8 *gsi, u8 *irq, u8 *flags) -{ - *irq = 0; - *gsi = 0; -} - -static struct device_operations device_ops = { - .read_resources = pmc_read_resources, - .set_resources = pci_dev_set_resources, - .enable_resources = pci_dev_enable_resources, - .scan_bus = scan_static_bus, -}; - -static const struct pci_driver pmc __pci_driver = { - .ops = &device_ops, - .vendor = PCI_VID_INTEL, - .device = QUARK_V_LPC_DEVICE_ID_0, -}; -- cgit v1.2.3