Zong Li | dab3e8e | 2021-06-30 23:23:48 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * Copyright (C) 2021 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 */ |