blob: c766c7423ac5e40e99ced4d7e296b03e979bdf80 [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
Marek Behún1b010112023-10-20 16:29:16 +02009enum cznic_a3720_board {
10 BOARD_UNDEFINED = 0x0,
11 BOARD_TURRIS_MOX = 0x1,
12 BOARD_RIPE_ATLAS = 0x3,
13};
14
Marek Behún35572c92018-12-17 16:10:08 +010015const char *mox_sp_get_ecdsa_public_key(void);
16int mbox_sp_get_board_info(u64 *sn, u8 *mac1, u8 *mac2, int *bv,
Marek Behún1b010112023-10-20 16:29:16 +020017 int *ram, enum cznic_a3720_board *board);
Marek Behún35572c92018-12-17 16:10:08 +010018
19#endif /* _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_ */