diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2016-02-06 07:57:25 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-08 10:22:44 -0500 |
commit | 928f6054555618c9700bc5ebc16b9a661fd3ead7 (patch) | |
tree | abe98f6afbeebe8fd52b663d47617fb1f61e49ef /common/main.c | |
parent | 89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (diff) | |
download | u-boot-imx-928f6054555618c9700bc5ebc16b9a661fd3ead7.zip u-boot-imx-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.gz u-boot-imx-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.bz2 |
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.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/common/main.c b/common/main.c index 5a03181..1a2ef39 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 */ |