mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![Marek Behún](/assets/img/avatar_default.png)
Add support for reading One-Time Programmable memory via mailbox, which communicates with CZ.NIC's firmware on the Secure Processor (Cortex-M3) of Armada 3720. Display product serial number and additional info, and also set MAC addresses. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
16 lines
386 B
C
16 lines
386 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2018 Marek Behun <marek.behun@nic.cz>
|
|
*/
|
|
|
|
#ifndef _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_
|
|
#define _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_
|
|
|
|
#include <common.h>
|
|
|
|
const char *mox_sp_get_ecdsa_public_key(void);
|
|
int mbox_sp_get_board_info(u64 *sn, u8 *mac1, u8 *mac2, int *bv,
|
|
int *ram);
|
|
|
|
#endif /* _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_ */
|