mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 20:37:16 +00:00
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>
This commit is contained in:
parent
1f75b54150
commit
e660c44d9e
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ int board_late_init(void)
|
||||||
mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
|
mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
|
||||||
mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0);
|
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;
|
val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;
|
||||||
|
|
Loading…
Add table
Reference in a new issue