]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm, hawkboard: Remove obsolete struct pinmux_config i2c_pins
authorChristian Riesch <christian.riesch@omicron.at>
Mon, 28 Nov 2011 23:46:15 +0000 (23:46 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:36 +0000 (23:59 +0100)
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 <christian.riesch@omicron.at>
Cc: Heiko Schocher <hs@denx.de>
Cc: Syed Mohammed Khasim <sm.khasim@gmail.com>
Cc: Sughosh Ganu <urwithsughosh@gmail.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Acked-by: Heiko Schocher <hs@denx.de>
board/davinci/da8xxevm/hawkboard_nand_spl.c

index 0fdccac435fb0b3615a816c5218e723075e11e40..fd130fa67a4a51ced826ab0a1593610dc4f91bff 100644 (file)
@@ -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),
 };