]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/LaCie/common/cpld-gpio-bus.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / LaCie / common / cpld-gpio-bus.h
CommitLineData
d5cc3f52
SG
1/*
2 * Copyright (C) 2013 Simon Guinot <simon.guinot@sequanux.org>
3 *
1a459660 4 * SPDX-License-Identifier: GPL-2.0+
d5cc3f52
SG
5 */
6
7#ifndef _LACIE_CPLD_GPI0_BUS_H
8#define _LACIE_CPLD_GPI0_BUS_H
9
10struct cpld_gpio_bus {
11 unsigned *addr;
12 unsigned num_addr;
13 unsigned *data;
14 unsigned num_data;
15 unsigned enable;
16};
17
18void cpld_gpio_bus_write(struct cpld_gpio_bus *cpld_gpio_bus,
19 unsigned addr, unsigned value);
20
21#endif /* _LACIE_CPLD_GPI0_BUS_H */