mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-02 17:47:54 +00:00

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>
10 lines
187 B
C
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
|