[U-Boot-Users] [PATCH] Add support CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in pci_auto.c

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Mar 19 08:58:58 CET 2008


On 17:08 Mon 17 Mar     , Tsi-Chung Liew wrote:
> Provide common configuration in pciauto_config_device() usable for
> all architectures
> 
> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
> ---
>  drivers/pci/pci_auto.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
> index acfda83..1085a6c 100644
> --- a/drivers/pci/pci_auto.c
> +++ b/drivers/pci/pci_auto.c
> @@ -383,7 +383,7 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev)
>  		hose->current_busno++;
>  		break;
>  
> -#ifdef CONFIG_MPC5200
> +#if defined(CONFIG_MPC5200) || defined(CONFIG_PCIAUTO_SKIP_HOST_BRIDGE)

I think that you can remove the CONFIG_MPC5200 and define it in the
configs of the boards

Best Regards
J.




More information about the U-Boot mailing list