mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-03 03:13:21 +09:00
![Michal Simek](/assets/img/avatar_default.png)
Gpio support is not implemented yet. Adding it because of fdtdec. Signed-off-by: Michal Simek <monstr@monstr.eu>
42 lines
584 B
C
42 lines
584 B
C
#ifndef _ASM_MICROBLAZE_GPIO_H_
|
|
#define _ASM_MICROBLAZE_GPIO_H_
|
|
|
|
#include <asm/io.h>
|
|
|
|
static inline int gpio_request(unsigned gpio, const char *label)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int gpio_free(unsigned gpio)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int gpio_direction_input(unsigned gpio)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int gpio_direction_output(unsigned gpio, int value)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int gpio_get_value(unsigned gpio)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int gpio_set_value(unsigned gpio, int value)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int gpio_is_valid(int number)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|