~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/include/asm/arch-zynq/gpio.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2013 Xilinx, Inc.
 
3
 *
 
4
 * SPDX-License-Identifier:     GPL-2.0+
 
5
 */
 
6
 
 
7
#ifndef _ZYNQ_GPIO_H
 
8
#define _ZYNQ_GPIO_H
 
9
 
 
10
inline int gpio_get_value(unsigned gpio)
 
11
{
 
12
        return 0;
 
13
}
 
14
 
 
15
inline int gpio_set_value(unsigned gpio, int val)
 
16
{
 
17
        return 0;
 
18
}
 
19
 
 
20
inline int gpio_request(unsigned gpio, const char *label)
 
21
{
 
22
        return 0;
 
23
}
 
24
 
 
25
#endif /* _ZYNQ_GPIO_H */