The configuration in struct pinmux_config i2c_pins does not configure
the pins for i2c but for uart. Since this function is already
configured by struct pinmux_config uart2_pins the i2c_pins struct
is obsolete.

Signed-off-by: Christian Riesch <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Syed Mohammed Khasim <[email protected]>
Cc: Sughosh Ganu <[email protected]>
Cc: Sandeep Paulraj <[email protected]>
---
 board/davinci/da8xxevm/hawkboard_nand_spl.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/board/davinci/da8xxevm/hawkboard_nand_spl.c 
b/board/davinci/da8xxevm/hawkboard_nand_spl.c
index 0fdccac..fd130fa 100644
--- a/board/davinci/da8xxevm/hawkboard_nand_spl.c
+++ b/board/davinci/da8xxevm/hawkboard_nand_spl.c
@@ -71,15 +71,9 @@ static const struct pinmux_config uart2_pins[] = {
        { pinmux(4), 2, 5 }
 };
 
-static const struct pinmux_config i2c_pins[] = {
-       { pinmux(4), 2, 4 },
-       { pinmux(4), 2, 5 }
-};
-
 static const struct pinmux_resource pinmuxes[] = {
        PINMUX_ITEM(mii_pins),
        PINMUX_ITEM(mdio_pins),
-       PINMUX_ITEM(i2c_pins),
        PINMUX_ITEM(nand_pins),
        PINMUX_ITEM(uart2_pins),
 };
-- 
1.7.0.4

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to