eeprom.h 360 B

1234567891011121314
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2021 StarFive Technology Co., Ltd.
  4. *
  5. * Author: Jianlong Huang <jianlong.huang@starfivetech.com>
  6. */
  7. #ifndef _ASM_RISCV_EEPROM_H
  8. #define _ASM_RISCV_EEPROM_H
  9. u8 get_pcb_revision_from_eeprom(void);
  10. int get_data_from_eeprom(int offset, int len, unsigned char *data);
  11. #endif /* _ASM_RISCV_EEPROM_H */