]> git.baikalelectronics.ru Git - uboot.git/commit
firmware: scmi: mailbox transport: use plat data, not priv data
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 8 Nov 2021 07:56:09 +0000 (08:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 23 Nov 2021 18:53:03 +0000 (13:53 -0500)
commit0586c40c0d566d689018a4de2ede7eab820a43e8
treea20ec1e029a472b4adec7532455db005327523a2
parent010c4b673a7a45d6b667700362c40adf84ed785b
firmware: scmi: mailbox transport: use plat data, not priv data

Change SCMI mailbox transport drivers to use platform data rather
than private data for channel reference since it only stores platform
data retrieved from the DT. Consequently the probe handler is replaced
with a of_to_plat handler.

Cc: Simon Glass <sjg@chromium.org>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/firmware/scmi/mailbox_agent.c