imx-common: fix iomux settings
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 14 Sep 2015 05:34:43 +0000 (13:34 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 20 Sep 2015 07:39:06 +0000 (09:39 +0200)
commitc3c8a5748897b24f18618047804317167a531dd3
treef34e278bb801bfc0095c001aae8d5f7671981480
parent1fb8d7933924aa5deb7e722d64c1d9fc7f0b2b82
imx-common: fix iomux settings

When setting iomux for a pin mux, there is no need to check mux_ctrl_ofs.
Also If still checking mux_ctrl_ofs, we have no chance to set iomux
for i.MX7D IOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO1_IO00, because the mux_ctrl_ofs
for this register is 0.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/imx-common/iomux-v3.c