]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/LaCie/common/cpld-gpio-bus.h
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / board / LaCie / common / cpld-gpio-bus.h
1 /*
2  * Copyright (C) 2013 Simon Guinot <simon.guinot@sequanux.org>
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, or (at your option) any later version.
8  */
9
10 #ifndef _LACIE_CPLD_GPI0_BUS_H
11 #define _LACIE_CPLD_GPI0_BUS_H
12
13 struct cpld_gpio_bus {
14         unsigned *addr;
15         unsigned num_addr;
16         unsigned *data;
17         unsigned num_data;
18         unsigned enable;
19 };
20
21 void cpld_gpio_bus_write(struct cpld_gpio_bus *cpld_gpio_bus,
22                          unsigned addr, unsigned value);
23
24 #endif /* _LACIE_CPLD_GPI0_BUS_H */