From eb233ca882e6a91958a51f97a5544be205d7a2dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 3 Mar 2022 12:40:12 +0100 Subject: [PATCH] Drop Netgear specific restore default support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It uses hacky code, BCM4908 specific hardcoded register offset & Netgear specific hardcoded GPIO index. 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 3472ffba5f..c16f0d8f88 100644 --- a/common/main.c +++ b/common/main.c @@ -40,6 +40,7 @@ static void run_preboot_environment_command(void) #endif /* CONFIG_PREBOOT */ } +#if 0 int g_restore_default; void check_restore_default(void) @@ -79,6 +80,7 @@ void check_restore_default(void) } return; } +#endif #if 0 void bootup_turn_on_power_led(void) @@ -117,7 +119,9 @@ void main_loop(void) #endif run_preboot_environment_command(); +#if 0 check_restore_default(); +#endif #ifdef CONFIG_SYS_NMRP StartNmrpClient(); -- 2.30.2