]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx-common: consider mux_ctrl_ofs when setting mux_mode
authorPeng Fan <Peng.Fan@freescale.com>
Wed, 23 Sep 2015 03:13:28 +0000 (11:13 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 24 Sep 2015 09:27:22 +0000 (11:27 +0200)
commitcf226d99426d822d6a40aef6a4dcddf818cba07f
treef851680c1761799374f3fbcbed3160ed3531f00f
parent3e08e1b7274bcde611928f7fdb7c78cd5f259532
imx-common: consider mux_ctrl_ofs when setting mux_mode

Some i.MXes use __NA_ or 0 to avoid setting mux_mode, but the following patch
only take i.MX6/7 into consideration.

"c3c8a5748897b24f18618047804317167a531dd3 imx-common: fix iomux settings"

Use is_soc_type(MXC_CPU_MX7) to avoid breaking other i.MXes when
setting mux_mode.

In this patch, switch to use "asm/imx-common/sys_proto.h" to avoid
build break for "is_soc_type" for vf610 and mx25.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
arch/arm/imx-common/iomux-v3.c