summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/arch-fu740/eeprom.h
blob: 0e1220e558ed6af63eb6615cdec5d26784858bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2021 SiFive, Inc.
 *
 * Zong Li <zong.li@sifve.com>
 */

#ifndef _ASM_RISCV_EEPROM_H
#define _ASM_RISCV_EEPROM_H

#define PCB_REVISION_REV3	0x3

u8 get_pcb_revision_from_eeprom(void);

#endif /* _ASM_RISCV_EEPROM_H */