Marek Behún | 35572c9 | 2018-12-17 16:10:08 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Marek Behún | d63726e | 2022-06-01 17:17:06 +0200 | [diff] [blame] | 3 | * Copyright (C) 2018 Marek Behún <kabel@kernel.org> |
Marek Behún | 35572c9 | 2018-12-17 16:10:08 +0100 | [diff] [blame] | 4 | */ |
| 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ún | 1b01011 | 2023-10-20 16:29:16 +0200 | [diff] [blame] | 11 | enum cznic_a3720_board { |
| 12 | BOARD_UNDEFINED = 0x0, |
| 13 | BOARD_TURRIS_MOX = 0x1, |
| 14 | BOARD_RIPE_ATLAS = 0x3, |
| 15 | }; |
| 16 | |
Marek Behún | 35572c9 | 2018-12-17 16:10:08 +0100 | [diff] [blame] | 17 | const char *mox_sp_get_ecdsa_public_key(void); |
| 18 | int mbox_sp_get_board_info(u64 *sn, u8 *mac1, u8 *mac2, int *bv, |
Marek Behún | 1b01011 | 2023-10-20 16:29:16 +0200 | [diff] [blame] | 19 | int *ram, enum cznic_a3720_board *board); |
Marek Behún | 35572c9 | 2018-12-17 16:10:08 +0100 | [diff] [blame] | 20 | |
| 21 | #endif /* _BOARD_CZNIC_TURRIS_MOX_MOX_SP_H_ */ |