u-boot/board/CZ.NIC/turris_common.h
Marek Behún 2f1b88affa arm: mvebu: turris_omnia: Implement getting board information from MCU
Implement reading board serial number, first MAC address and board
version from MCU. MCU supports board information if the FEAT_BOARD_INFO
feature bit is set in MCU features.

Prefer getting board information from MCU if supported, fallback to
Atmel SHA chip.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2024-04-04 10:45:27 +02:00

10 lines
187 B
C

// SPDX-License-Identifier: GPL-2.0+
#ifndef TURRIS_COMMON_H
#define TURRIS_COMMON_H
#include <asm/types.h>
void turris_init_mac_addresses(int first_idx, const u8 *first_mac);
#endif