]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/mips/lasat/at93c.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-eoan-kernel.git] / arch / mips / lasat / at93c.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Atmel AT93C46 serial eeprom driver
4 *
5 * Brian Murphy <brian.murphy@eicon.com>
6 *
7 */
8
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;
17
18 u8 at93c_read(u8 addr);
19 void at93c_write(u8 addr, u8 data);