[PATCH v2 25/32] distro_bootcmd: Drop DM_PCI check
Tom Rini
trini at konsulko.com
Fri Aug 6 14:46:59 CEST 2021
On Sun, Aug 01, 2021 at 06:54:38PM -0600, Simon Glass wrote:
> We don't need this check anymore since when PCI is enabled, driver model
> is always used.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> include/config_distro_bootcmd.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
> index e70423f25dd..9b9dd308e68 100644
> --- a/include/config_distro_bootcmd.h
> +++ b/include/config_distro_bootcmd.h
> @@ -265,14 +265,9 @@
> BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
> #endif
>
> -#if defined(CONFIG_DM_PCI)
> #define BOOTENV_RUN_PCI_ENUM "run boot_pci_enum; "
> #define BOOTENV_SHARED_PCI \
> "boot_pci_enum=pci enum\0"
> -#else
> -#define BOOTENV_RUN_PCI_ENUM
> -#define BOOTENV_SHARED_PCI
> -#endif
>
> #ifdef CONFIG_CMD_USB
> #define BOOTENV_RUN_NET_USB_START "run boot_net_usb_start; "
This check needs to stay and be for CONFIG_PCI now, I've fixed this
locally.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210806/eee683e5/attachment.sig>
More information about the U-Boot
mailing list