summaryrefslogtreecommitdiffstats
path: root/common/main.c
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2016-02-06 07:57:25 +0100
committerTom Rini <trini@konsulko.com>2016-02-08 10:22:44 -0500
commit928f6054555618c9700bc5ebc16b9a661fd3ead7 (patch)
treeabe98f6afbeebe8fd52b663d47617fb1f61e49ef /common/main.c
parent89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (diff)
downloadblackbird-obmc-uboot-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.gz
blackbird-obmc-uboot-928f6054555618c9700bc5ebc16b9a661fd3ead7.zip
Remove unused CONFIG_MODEM_SUPPORT option and associated dead code.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/common/main.c b/common/main.c
index 5a0318123b..1a2ef39cca 100644
--- a/common/main.c
+++ b/common/main.c
@@ -20,19 +20,6 @@ DECLARE_GLOBAL_DATA_PTR;
*/
__weak void show_boot_progress(int val) {}
-static void modem_init(void)
-{
-#ifdef CONFIG_MODEM_SUPPORT
- debug("DEBUG: main_loop: gd->do_mdm_init=%lu\n", gd->do_mdm_init);
- if (gd->do_mdm_init) {
- char *str = getenv("mdm_cmd");
-
- setenv("preboot", str); /* set or delete definition */
- mdm_init(); /* wait for modem connection */
- }
-#endif /* CONFIG_MODEM_SUPPORT */
-}
-
static void run_preboot_environment_command(void)
{
#ifdef CONFIG_PREBOOT
@@ -66,7 +53,6 @@ void main_loop(void)
puts("upgraded by the late 2014 may break or be removed.\n");
#endif
- modem_init();
#ifdef CONFIG_VERSION_VARIABLE
setenv("ver", version_string); /* set version variable */
#endif /* CONFIG_VERSION_VARIABLE */
OpenPOWER on IntegriCloud