diff options
| author | Ashok <ashokkourla2000@gmail.com> | 2012-11-07 07:37:15 +0000 |
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2013-01-05 17:44:41 +0100 |
| commit | e660c44d9e3b4b6d156e5a6dacf62ced86fac216 (patch) | |
| tree | ddc9e2e3f3dc5108d2ac3661bf2e921cdaa2e440 | |
| parent | 1f75b5415083a14326449fed9b85177ca8c16dfa (diff) | |
| download | olio-uboot-2014.01-e660c44d9e3b4b6d156e5a6dacf62ced86fac216.tar.xz olio-uboot-2014.01-e660c44d9e3b4b6d156e5a6dacf62ced86fac216.zip | |
mx35pdk:Use IMX_GPIO_NR macro
Use IMX_GPO_NR macro
Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
| -rw-r--r-- | board/freescale/mx35pdk/mx35pdk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c index 2aa000f23..b7f474e5e 100644 --- a/board/freescale/mx35pdk/mx35pdk.c +++ b/board/freescale/mx35pdk/mx35pdk.c @@ -274,7 +274,7 @@ int board_late_init(void) mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO); mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0); - gpio_direction_output(37, 1); + gpio_direction_output(IMX_GPIO_NR(2, 5), 1); } val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04; |