kirkwood: fix calls to kirkwood_mpp_conf
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 1 Jun 2012 01:31:00 +0000 (01:31 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:31 +0000 (14:07 +0200)
With the new second save argument introduced by the previous patch, all
the calls to the function had to be fixed.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>

13 files changed:
board/LaCie/net2big_v2/net2big_v2.c
board/LaCie/netspace_v2/netspace_v2.c
board/Marvell/dreamplug/dreamplug.c
board/Marvell/guruplug/guruplug.c
board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c
board/Marvell/openrd/openrd.c
board/Marvell/rd6281a/rd6281a.c
board/Marvell/sheevaplug/sheevaplug.c
board/Seagate/dockstar/dockstar.c
board/cloudengines/pogo_e02/pogo_e02.c
board/d-link/dns325/dns325.c
board/keymile/km_arm/km_arm.c
board/raidsonic/ib62x0/ib62x0.c

index d0b4adffc082158abf4ef9cddc5b489a2cde904e..0f5e5a5b1f1a078390aba5228b29a8b6d44b09eb 100644 (file)
@@ -75,7 +75,7 @@ int board_early_init_f(void)
                0
        };
 
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
 
        return 0;
 }
index fbf020fde11b4b89f391f4af43ed75e12d7e7cf3..704005f9f1ee0af6a4e4ade387067f8a2522b92a 100644 (file)
@@ -73,7 +73,7 @@ int board_early_init_f(void)
                MPP33_GPIO,             /* Fan speed (bit 2) */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
 
        return 0;
 }
index 31b73c98b0345ea861104fe82fe9b6111a48e60f..d6497aaa07e6ff104dbaad34c85a6f5ae0171188 100644 (file)
@@ -99,7 +99,7 @@ int board_early_init_f(void)
                MPP49_GPIO,             /* Wifi AP LED */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 057c558682675fc09f33d4d4b2652cff73e54776..f5c1c3cfd908318a4405c45cde90eeef3738a7c4 100644 (file)
@@ -96,7 +96,7 @@ int board_early_init_f(void)
                MPP49_GPIO,     /* B_GLED */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 4c41f3b2ef7fd0d73f67212212199f82515b5a20..43852f6b24f1a04a5397c988f40578b30bf1f57b 100644 (file)
@@ -98,7 +98,7 @@ int board_early_init_f(void)
                MPP49_GPIO,
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 2a10e69fafd86591acdd6e4dd3c6e8ca85f011d8..d48f05a0488ade209a5df311b2175dfb2a3da7f0 100644 (file)
@@ -102,7 +102,7 @@ int board_early_init_f(void)
                0
        };
 
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 9c768bf59532b6a542a53a8f8a1473b6e99a4e54..1fd7677dcb589cb26d60c11978b43936eb87b720 100644 (file)
@@ -97,7 +97,7 @@ int board_early_init_f(void)
                MPP49_GPIO,
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 71e679309863c6fc4467155ff3a6775e8818825e..688d3086d4d3f3296b82e4e45a464788f2f92619 100644 (file)
@@ -96,7 +96,7 @@ int board_early_init_f(void)
                MPP49_GPIO,
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 38473e580883c598315de86591f4c0471766a941..fc88520b2d15eea8d852a8db47392075c885d6f2 100644 (file)
@@ -100,7 +100,7 @@ int board_early_init_f(void)
                MPP49_GPIO,
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index ff3421d57613832a1c0b33b6a632473e2711b0d2..bac9ce55a88363352b1ed0dc088bd8f19deca8e3 100644 (file)
@@ -71,7 +71,7 @@ int board_early_init_f(void)
                MPP49_GPIO,     /* LED orange */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }
 
index 990d79fe11bf4c1169e227deaf3d9e48c6279750..11260fe5f68ded64f248094fd69f4204ecf3d61c 100644 (file)
@@ -97,7 +97,7 @@ int board_early_init_f(void)
                MPP49_GPIO,             /* thermal sensor */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
 
        kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1);
 
index c6c9a715164b9df064627289d75f32d46be3dbac..ed12b5c5d8c9fd5905e22c7bb32b22d8a98fc05b 100644 (file)
@@ -244,7 +244,7 @@ int board_early_init_f(void)
 {
        u32 tmp;
 
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
 
        /*
         * The FLASH_GPIO_PIN switches between using a
@@ -299,7 +299,7 @@ int do_spi_toggle(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                kwmpp_config[2] = MPP2_NF_IO4;
                kwmpp_config[3] = MPP3_NF_IO5;
 
-               kirkwood_mpp_conf(kwmpp_config);
+               kirkwood_mpp_conf(kwmpp_config, NULL);
                tmp = readl(KW_GPIO0_BASE);
                writel(tmp | FLASH_GPIO_PIN , KW_GPIO0_BASE);
        } else if ((strcmp(argv[1], "on") == 0)) {
@@ -310,7 +310,7 @@ int do_spi_toggle(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                kwmpp_config[2] = MPP2_SPI_SCK;
                kwmpp_config[3] = MPP3_SPI_MISO;
 
-               kirkwood_mpp_conf(kwmpp_config);
+               kirkwood_mpp_conf(kwmpp_config, NULL);
                tmp = readl(KW_GPIO0_BASE);
                writel(tmp & (~FLASH_GPIO_PIN) , KW_GPIO0_BASE);
        } else {
index 65f2c2ea6a0415b0f508bc078528884e526dd201..1164d6bf3ffd0d7050b663ac53c9501dba21bce6 100644 (file)
@@ -66,7 +66,7 @@ int board_early_init_f(void)
                MPP29_GPIO,     /* USB Copy button */
                0
        };
-       kirkwood_mpp_conf(kwmpp_config);
+       kirkwood_mpp_conf(kwmpp_config, NULL);
        return 0;
 }