Vincent Chen | 6a84277 | 2024-01-16 14:35:57 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * Copyright (C) 2024 SiFive, Inc. | ||||
4 | * | ||||
5 | * Zong Li <zong.li@sifve.com> | ||||
6 | */ | ||||
7 | |||||
8 | #ifndef _ASM_RISCV_EEPROM_H | ||||
9 | #define _ASM_RISCV_EEPROM_H | ||||
10 | |||||
11 | #define PCB_REVISION_REV3 0x3 | ||||
12 | |||||
13 | u8 get_pcb_revision_from_eeprom(void); | ||||
14 | |||||
15 | #endif /* _ASM_RISCV_EEPROM_H */ |