summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-09-13 13:06:43 -0300
committerStefano Babic <sbabic@denx.de>2015-09-20 09:47:59 +0200
commitb7d4db2f9638bdbb5b135838ac88042a3f4a5266 (patch)
treed2483bad205b794ebb5390d4bc479f35d7c0005e /board/freescale
parent72e49e03644e6068eb753898c4a10e905c5710ba (diff)
downloadu-boot-imx-b7d4db2f9638bdbb5b135838ac88042a3f4a5266.zip
u-boot-imx-b7d4db2f9638bdbb5b135838ac88042a3f4a5266.tar.gz
u-boot-imx-b7d4db2f9638bdbb5b135838ac88042a3f4a5266.tar.bz2
mx7dsabreasd: Remove dead code
iox74lv_set() is not used anywhere, so let's remove it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx7dsabresd/mx7dsabresd.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index 5515913..15a1daf 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -190,44 +190,6 @@ static void iox74lv_init(void)
gpio_direction_output(IOX_STCP, 1);
};
-void iox74lv_set(int index)
-{
- int i;
- for (i = 7; i >= 0; i--) {
- gpio_direction_output(IOX_SHCP, 0);
-
- if (i == index)
- gpio_direction_output(IOX_SDI, seq[qn_output[i]][0]);
- else
- gpio_direction_output(IOX_SDI, seq[qn_output[i]][1]);
- udelay(500);
- gpio_direction_output(IOX_SHCP, 1);
- udelay(500);
- }
-
- gpio_direction_output(IOX_STCP, 0);
- udelay(500);
- /*
- * shift register will be output to pins
- */
- gpio_direction_output(IOX_STCP, 1);
-
- for (i = 7; i >= 0; i--) {
- gpio_direction_output(IOX_SHCP, 0);
- gpio_direction_output(IOX_SDI, seq[qn_output[i]][1]);
- udelay(500);
- gpio_direction_output(IOX_SHCP, 1);
- udelay(500);
- }
-
- gpio_direction_output(IOX_STCP, 0);
- udelay(500);
- /*
- * shift register will be output to pins
- */
- gpio_direction_output(IOX_STCP, 1);
-};
-
#ifdef CONFIG_FEC_MXC
static iomux_v3_cfg_t const fec1_pads[] = {
MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL | MUX_PAD_CTRL(ENET_RX_PAD_CTRL),