summaryrefslogtreecommitdiff
path: root/arch/blackfin/cpu
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-11-18 14:12:39 +0800
committerSonic Zhang <sonic.zhang@analog.com>2013-12-06 16:06:51 +0800
commit76db0fde5bc8e61ebfd04a940cd28ea331874104 (patch)
treedbf1a66f6ed4df73d6a28d10036bbee8b8c4ad4b /arch/blackfin/cpu
parente45eb6b960e4ae062a533c960f2dab557637cecd (diff)
downloadu-boot-imx-76db0fde5bc8e61ebfd04a940cd28ea331874104.zip
u-boot-imx-76db0fde5bc8e61ebfd04a940cd28ea331874104.tar.gz
u-boot-imx-76db0fde5bc8e61ebfd04a940cd28ea331874104.tar.bz2
blackfin: If none ADI_GPIOX macro is defined, use ADI_GPIO1 as default
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin/cpu')
-rw-r--r--arch/blackfin/cpu/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c
index 5e9c68a..86da706 100644
--- a/arch/blackfin/cpu/gpio.c
+++ b/arch/blackfin/cpu/gpio.c
@@ -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,