diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-18 11:08:05 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-21 09:50:11 +0800 |
commit | 500e69df9073a8bc2773274c1139bb036b1a4195 (patch) | |
tree | 0aa8fd108e80d33af583382948c3a8fc774d3c92 /include/configs/mx6dl_sabresd.h | |
parent | 9b6dfc4b6f0d30b7284511a962e64e83c426b854 (diff) | |
download | u-boot-imx-500e69df9073a8bc2773274c1139bb036b1a4195.zip u-boot-imx-500e69df9073a8bc2773274c1139bb036b1a4195.tar.gz u-boot-imx-500e69df9073a8bc2773274c1139bb036b1a4195.tar.bz2 |
ENGR00209899-1 mx6x: add generic gpio interface.
Add generic gpio interface in uboot.
Seems more and more gpio operation invoke in uboot,
without RAW register operation, we should
use generic gpio interface.
you should define the CONFIG_MXC_GPIO
use generic gpio interface:
gpio_request,
gpio_direction_output,
gpio_direction_input,
gpio_set_value,
gpio_get_value, etc.
Test on MX6Q, MX6DL.
Other MX6X should also define this config.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include/configs/mx6dl_sabresd.h')
-rw-r--r-- | include/configs/mx6dl_sabresd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6dl_sabresd.h b/include/configs/mx6dl_sabresd.h index 3df2a34..5a9bde3 100644 --- a/include/configs/mx6dl_sabresd.h +++ b/include/configs/mx6dl_sabresd.h @@ -54,7 +54,7 @@ #define CONFIG_REVISION_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG - +#define CONFIG_MXC_GPIO /* * Size of malloc() pool */ |