blob: 720880d5df328806452cc2b43b50e683436a50b6 [file] [log] [blame]
Marek Behún35572c92018-12-17 16:10:08 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
Marek Behúnd63726e2022-06-01 17:17:06 +02003 * Copyright (C) 2018 Marek Behún <kabel@kernel.org>
Marek Behún35572c92018-12-17 16:10:08 +01004 */
5
6#ifndef _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_
7#define _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_
8
9#include <common.h>
10
Marek Behún1b010112023-10-20 16:29:16 +020011enum cznic_a3720_board {
12 BOARD_UNDEFINED = 0x0,
13 BOARD_TURRIS_MOX = 0x1,
14 BOARD_RIPE_ATLAS = 0x3,
15};
16
Marek Behún35572c92018-12-17 16:10:08 +010017const char *mox_sp_get_ecdsa_public_key(void);
18int mbox_sp_get_board_info(u64 *sn, u8 *mac1, u8 *mac2, int *bv,
Marek Behún1b010112023-10-20 16:29:16 +020019 int *ram, enum cznic_a3720_board *board);
Marek Behún35572c92018-12-17 16:10:08 +010020
21#endif /* _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_ */