Linux 5.7.6
[linux/fpc-iii.git] / arch / mips / lasat / at93c.h
blob7a99a02d81d072757ec95ec26535e798e32940dd
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Atmel AT93C46 serial eeprom driver
5 * Brian Murphy <brian.murphy@eicon.com>
7 */
9 extern struct at93c_defs {
10 volatile u32 *reg;
11 volatile u32 *rdata_reg;
12 int rdata_shift;
13 int wdata_shift;
14 u32 cs;
15 u32 clk;
16 } *at93c;
18 u8 at93c_read(u8 addr);
19 void at93c_write(u8 addr, u8 data);