X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Froms%2Fu-boot%2Fboard%2FLaCie%2Fcommon%2Fcpld-gpio-bus.h;fp=qemu%2Froms%2Fu-boot%2Fboard%2FLaCie%2Fcommon%2Fcpld-gpio-bus.h;h=3dfac0b5acafd65c22a7c1aaabfee7fc71097ad5;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/qemu/roms/u-boot/board/LaCie/common/cpld-gpio-bus.h b/qemu/roms/u-boot/board/LaCie/common/cpld-gpio-bus.h new file mode 100644 index 000000000..3dfac0b5a --- /dev/null +++ b/qemu/roms/u-boot/board/LaCie/common/cpld-gpio-bus.h @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2013 Simon Guinot + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _LACIE_CPLD_GPI0_BUS_H +#define _LACIE_CPLD_GPI0_BUS_H + +struct cpld_gpio_bus { + unsigned *addr; + unsigned num_addr; + unsigned *data; + unsigned num_data; + unsigned enable; +}; + +void cpld_gpio_bus_write(struct cpld_gpio_bus *cpld_gpio_bus, + unsigned addr, unsigned value); + +#endif /* _LACIE_CPLD_GPI0_BUS_H */