mirror of
https://xff.cz/git/u-boot/
synced 2026-01-07 07:39:17 +01:00
blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/portmux.h>
|
||||
|
||||
#ifdef CONFIG_ADI_GPIO1
|
||||
#ifndef CONFIG_ADI_GPIO2
|
||||
#if ANOMALY_05000311 || ANOMALY_05000323
|
||||
enum {
|
||||
AWA_data = SYSCR,
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#ifdef CONFIG_ADI_GPIO1
|
||||
#ifndef CONFIG_ADI_GPIO2
|
||||
void set_gpio_dir(unsigned, unsigned short);
|
||||
void set_gpio_inen(unsigned, unsigned short);
|
||||
void set_gpio_polar(unsigned, unsigned short);
|
||||
|
||||
Reference in New Issue
Block a user