summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-05 03:08:24 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-27 22:05:29 +0200
commit1441aa6ae8a77ada40407cdfbec783f5559f1646 (patch)
tree512a31f0cc38e4630dd3bcd05a3ef4753a351da1 /include
parent88b821bbef64f0b69710ff7d857fc490f72a6d3c (diff)
downloadu-boot-imx-1441aa6ae8a77ada40407cdfbec783f5559f1646.zip
u-boot-imx-1441aa6ae8a77ada40407cdfbec783f5559f1646.tar.gz
u-boot-imx-1441aa6ae8a77ada40407cdfbec783f5559f1646.tar.bz2
Davinci: ea20: use gpio framework to access gpios
Drop direct access to SOC's registers and use the function of the GPIO driver for da8xx. [Tom: Remove gpio[68]_base as it's now unused] Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Bastian Ruppert <Bastian.Ruppert@Sewerin.de> CC: dzu@denx.de CC: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ea20.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index b4610d9..e059b30 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -48,6 +48,7 @@
#define CONFIG_SYS_HZ 1000
#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_SYS_TEXT_BASE 0xc1080000
+#define CONFIG_DA8XX_GPIO
/*
* Memory Info
@@ -167,6 +168,7 @@
#define CONFIG_CMD_SAVES
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_I2C
+#define CONFIG_CMD_GPIO
#ifdef CONFIG_CMD_BDI
#define CONFIG_CLOCKS