mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
![Marek Behun](/assets/img/avatar_default.png)
This adds support for the mailbox via which the kernel can communicate with the firmware running on the secure processor of the Armada 37xx SOC. The rWTM secure processor has access to internal eFuses and cryptographic circuits, such as the Entropy Bit Generator to generate true random numbers. Signed-off-by: Marek Behun <marek.behun@nic.cz> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
23 lines
432 B
C
23 lines
432 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* rWTM BIU Mailbox driver for Armada 37xx
|
|
*
|
|
* Author: Marek Behun <marek.behun@nic.cz>
|
|
*/
|
|
|
|
#ifndef _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
|
|
#define _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct armada_37xx_rwtm_tx_msg {
|
|
u16 command;
|
|
u32 args[16];
|
|
};
|
|
|
|
struct armada_37xx_rwtm_rx_msg {
|
|
u32 retval;
|
|
u32 status[16];
|
|
};
|
|
|
|
#endif /* _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ */
|