From ad846a7cb8cdb98870e42539087f2bc4e786fd22 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Tue, 6 Aug 2024 09:38:02 +0530 Subject: lib: utils/mailbox: Add generic mailbox library Add generic mailbox library which is independent of hardware description format. The OpenSBI platform support or mailbox drivers can register mailbox controller instances which can be discovered and used by different mailbox client drivers. Each mailbox controller instance has a unique ID which can be used by mailbox client drivers for find the mailbox controller instance. The mailbox client drivers will typically request a mailbox channel from the mailbox controller and use it to do data transfer with the remote end of mailbox channel. Signed-off-by: Anup Patel --- lib/utils/mailbox/objects.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/utils/mailbox/objects.mk (limited to 'lib/utils/mailbox/objects.mk') diff --git a/lib/utils/mailbox/objects.mk b/lib/utils/mailbox/objects.mk new file mode 100644 index 00000000..79b27e4c --- /dev/null +++ b/lib/utils/mailbox/objects.mk @@ -0,0 +1,10 @@ +# +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2024 Ventana Micro Systems Inc. +# +# Authors: +# Anup Patel +# + +libsbiutils-objs-$(CONFIG_MAILBOX) += mailbox/mailbox.o -- cgit v1.3.1