From: Taras Kondratiuk Date: Tue, 6 Aug 2013 12:18:51 +0000 (+0300) Subject: ARM: OMAP4460: sdp: Limit TPS mux config to 4460 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e633ac019642689e3a2dd95bd644b3a10c7bbbb4;p=project%2Fbcm63xx%2Fu-boot.git ARM: OMAP4460: sdp: Limit TPS mux config to 4460 TPS mux config is 4460 specific, so it should be limited to 4460 only. Signed-off-by: Taras Kondratiuk --- diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index b20ca9ebfd..79270a9e94 100644 --- a/board/ti/sdp4430/sdp.c +++ b/board/ti/sdp4430/sdp.c @@ -65,7 +65,8 @@ void set_muxconf_regs_essential(void) sizeof(wkup_padconf_array_essential) / sizeof(struct pad_conf_entry)); - if (omap_revision() >= OMAP4460_ES1_0) + if ((omap_revision() >= OMAP4460_ES1_0) && + (omap_revision() < OMAP4470_ES1_0)) do_set_mux((*ctrl)->control_padconf_wkup_base, wkup_padconf_array_essential_4460, sizeof(wkup_padconf_array_essential_4460) /