[U-Boot-Users] [PATCH] pci: Move PCI device configuration check into a separate weak function

Wolfgang Denk wd at denx.de
Thu Jul 10 10:10:47 CEST 2008


In message <1215511307-25645-1-git-send-email-sr at denx.de> you wrote:
> This patch moves the check, if a device should be skipped in PCI PNP
> configuration into the function pci_skip_dev(). This function is defined
> as weak so that it can be overwritten by a platform specific one if
> needed. The check if the device should get printed in the PCI summary upon
> bootup (when CONFIG_PCI_SCAN_SHOW is defined) is moved to the function
> pci_print_dev() which is also defined as weak too.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  drivers/pci/pci.c |   70 ++++++++++++++++++++++++++++++++++------------------
>  1 files changed, 46 insertions(+), 24 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Remember that Beethoven wrote his first symphony in C ...




More information about the U-Boot mailing list