ARM: OMAP4460: sdp: Limit TPS mux config to 4460
authorTaras Kondratiuk <taras@ti.com>
Tue, 6 Aug 2013 12:18:51 +0000 (15:18 +0300)
committerTom Rini <trini@ti.com>
Wed, 28 Aug 2013 15:44:58 +0000 (11:44 -0400)
TPS mux config is 4460 specific, so it should be limited to 4460 only.

Signed-off-by: Taras Kondratiuk <taras@ti.com>
board/ti/sdp4430/sdp.c

index b20ca9ebfd59c3f6bcc7b30c7253424d7d345073..79270a9e94e2e2e6a1e85b29d2b6c84ff228dd9a 100644 (file)
@@ -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) /