summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2025-01-12 10:40:01 +0530
committerAnup Patel <[email protected]>2025-02-13 11:10:03 +0530
commit879ee6859cfb2d3241923af615f7f1e77aba32c5 (patch)
tree7402e2c794ac8f7ecd5f433e245c6bdd85f8615d /lib/utils
parenta4876e6c6c92f5c94809c5d8a82ad037184414ce (diff)
lib: utils: Drop notifications from MPXY RPMI mailbox client
Currently, the common MPXY RPMI mailbox client does not support notifications so no need for dummy notifications support. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/mpxy/fdt_mpxy_rpmi_clock.c1
-rw-r--r--lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/utils/mpxy/fdt_mpxy_rpmi_clock.c b/lib/utils/mpxy/fdt_mpxy_rpmi_clock.c
index 4e36d4f5..7d2b4a20 100644
--- a/lib/utils/mpxy/fdt_mpxy_rpmi_clock.c
+++ b/lib/utils/mpxy/fdt_mpxy_rpmi_clock.c
@@ -72,7 +72,6 @@ static struct mpxy_rpmi_service_data clock_services[] = {
static const struct mpxy_rpmi_mbox_data clock_data = {
.servicegrp_id = RPMI_SRVGRP_CLOCK,
.num_services = RPMI_CLOCK_SRV_MAX_COUNT,
- .notifications_support = 1,
.service_data = clock_services,
};
diff --git a/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c b/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c
index 6db750fb..cbcea4f2 100644
--- a/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c
+++ b/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c
@@ -213,13 +213,6 @@ static int mpxy_mbox_send_message_withoutresp(struct sbi_mpxy_channel *channel,
NULL, 0, NULL);
}
-static int mpxy_mbox_get_notifications(struct sbi_mpxy_channel *channel,
- void *eventsbuf, u32 bufsize,
- unsigned long *events_len)
-{
- return SBI_ENOTSUPP;
-}
-
int mpxy_rpmi_mbox_init(const void *fdt, int nodeoff, const struct fdt_match *match)
{
int rc, len;
@@ -277,11 +270,6 @@ int mpxy_rpmi_mbox_init(const void *fdt, int nodeoff, const struct fdt_match *ma
mpxy_mbox_send_message_withresp;
rmb->channel.send_message_without_response =
mpxy_mbox_send_message_withoutresp;
- /* Callback to get RPMI notifications */
- rmb->channel.get_notification_events = mpxy_mbox_get_notifications;
-
- /* No callback to switch events state data */
- rmb->channel.switch_eventsstate = NULL;
/* RPMI Message Protocol ID */
rmb->channel.attrs.msg_proto_id = SBI_MPXY_MSGPROTO_RPMI_ID;