summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2022-03-14 16:53:59 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-03-18 15:41:37 +0000
commit39e6f85ea2c1be74750a16bb2ab7a3892a7b5db1 (patch)
tree1d0303c9eceb75b156de43c02b65306da3b9a975 /src/soc/mediatek/mt8192
parent12cc10fe8b07a89f682d8e19f3e1073c9fcaacd4 (diff)
soc/mediatek: Set soc_ops.set_resources as no-op
Without setting the set_resources field for soc_ops, we will get an error during device initialization: [ERROR] CPU_CLUSTER: 0 missing set_resources Because the set_resources field is considered mandatory, explicitly set it as no-op noop_set_resources. BUG=b:224419346 TEST=emerge-corsola coreboot TEST=Did not see the error on krabby BRANCH=none Change-Id: Ic82b86f0482a9de09e942c1674be5f0ac615851f Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62785 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8192')
-rw-r--r--src/soc/mediatek/mt8192/soc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/soc.c b/src/soc/mediatek/mt8192/soc.c
index 006a212da9..cf1fe48c84 100644
--- a/src/soc/mediatek/mt8192/soc.c
+++ b/src/soc/mediatek/mt8192/soc.c
@@ -37,6 +37,7 @@ static void soc_init(struct device *dev)
static struct device_operations soc_ops = {
.read_resources = soc_read_resources,
+ .set_resources = noop_set_resources,
.init = soc_init,
};