mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 09:13:06 +00:00
c87b87006b
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>
15 lines
386 B
C
15 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_ */
|