From: Simon Glass Date: Wed, 21 Aug 2024 16:19:07 +0000 (-0600) Subject: global_data: Drop pci_bootdelay X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=423bdf669062991f33c396ea4e119b573ae80a14;p=u-boot.git global_data: Drop pci_bootdelay This is not used. Drop the field and the environment code which uses it. Signed-off-by: Simon Glass --- diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index b860f3626b..86e8d654a2 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -297,17 +297,6 @@ struct global_data { * @malloc_ptr: current address of early malloc() */ unsigned long malloc_ptr; -#endif -#ifdef CONFIG_PCI_BOOTDELAY - /** - * @pcidelay_done: delay time before scanning of PIC hose expired - * - * If CONFIG_PCI_BOOTDELAY=y, pci_hose_scan() waits for the number of - * milliseconds defined by environment variable pcidelay before - * scanning. Once this delay has expired the flag @pcidelay_done - * is set to 1. - */ - int pcidelay_done; #endif /** * @cur_serial_dev: current serial device diff --git a/include/env_default.h b/include/env_default.h index 076ffdd44e..aa3dd40f3f 100644 --- a/include/env_default.h +++ b/include/env_default.h @@ -82,9 +82,6 @@ const char default_environment[] = { #ifdef CONFIG_SYS_LOAD_ADDR "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR)"\0" #endif -#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0) - "pcidelay=" __stringify(CONFIG_PCI_BOOTDELAY)"\0" -#endif #ifdef CONFIG_ENV_VARS_UBOOT_CONFIG "arch=" CONFIG_SYS_ARCH "\0" #ifdef CONFIG_SYS_CPU