summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2020-11-19 13:09:56 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-11-22 22:25:10 +0000
commitf2baae3735b86ff14a13728a845bd484aa4caf70 (patch)
tree92340fbcfc98aeb1bba01a54d21f0958390fe3e9 /src/soc
parent1ae8cd1064ce8bf4892bd486a1ba60c6a3a8d4af (diff)
soc/intel/common/pmc.c Don't implement a weak function that dies
Buildtime failures are better than runtime failures. Change-Id: I5fe4c86a13dbabb839977010f129419e337e8281 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47752 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/block/pmc/pmc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c
index d153bc7188..fe4dca6fa4 100644
--- a/src/soc/intel/common/block/pmc/pmc.c
+++ b/src/soc/intel/common/block/pmc/pmc.c
@@ -8,22 +8,6 @@
#include <intelblocks/pmc.h>
#include <soc/pci_devs.h>
-/* SoC overrides */
-
-/* Fill up PMC resource structure inside SoC directory */
-__weak int pmc_soc_get_resources(
- struct pmc_resource_config *cfg)
-{
- /* no-op */
- return -1;
-}
-
-/* SoC override PMC initialization */
-__weak void pmc_soc_init(struct device *dev)
-{
- /* no-op */
-}
-
static void pch_pmc_add_new_resource(struct device *dev,
uint8_t offset, uintptr_t base, size_t size,
unsigned long flags)