From ad0294c7b0caa44d7998c2ce3e661604a735a276 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 3 Mar 2022 12:38:37 +0100 Subject: [PATCH] Drop Foxconn's early init hacks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't need or want them for generic U-Boot builds. Signed-off-by: Rafał Miłecki --- common/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/main.c b/common/main.c index 305f35b673..3472ffba5f 100644 --- a/common/main.c +++ b/common/main.c @@ -80,6 +80,7 @@ void check_restore_default(void) return; } +#if 0 void bootup_turn_on_power_led(void) { //power up, turn on power led @@ -95,6 +96,7 @@ void bootup_enable_dhd_offload(void) env_set("dhd1", "11"); env_set("dhd2", "11"); } +#endif /* We come here after U-Boot is initialised and ready to process commands */ void main_loop(void) @@ -107,10 +109,12 @@ void main_loop(void) env_set("ver", version_string); /* set version variable */ cli_init(); +#if 0 /*Foxconn add start*/ bootup_turn_on_power_led(); bootup_enable_dhd_offload(); /*Foxconn add end*/ +#endif run_preboot_environment_command(); check_restore_default(); -- 2.30.2