Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
PATCH 1/1 Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
--- drivers/pci/pci_auto.c | 2 +- include/configs/BC3450.h | 1 + include/configs/M54455EVB.h | 2 +- include/configs/M5475EVB.h | 2 +- include/configs/M5485EVB.h | 1 + include/configs/PM520.h | 1 + include/configs/TOP5200.h | 1 + include/configs/TQM5200.h | 1 + include/configs/Total5200.h | 1 + include/configs/aev.h | 1 + include/configs/cpci5200.h | 1 + include/configs/hmi1001.h | 1 + include/configs/inka4x0.h | 1 + include/configs/jupiter.h | 1 + include/configs/o2dnt.h | 1 + include/configs/pf5200.h | 1 + include/configs/spieval.h | 1 + 17 files changed, 17 insertions(+), 3 deletions(-)
drivers/pci/pci_auto.c +1 -1
@@ -383,7 +383,7 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev) hose->current_busno++;break ; -#if defined(CONFIG_MPC5200 ) || defined(CONFIG_PCIAUTO_SKIP_HOST_BRIDGE ) +#ifdef CONFIG_PCIAUTO_SKIP_HOST_BRIDGE case PCI_CLASS_BRIDGE_OTHER :DEBUGF ("PCI Autoconfig: Skipping bridge device %d\n" ,PCI_DEV (dev));
include/configs/BC3450.h +1 -0
@@ -87,6 +87,7 @@# define CONFIG_PCI 1# define CONFIG_PCI_PNP 1/* #define CONFIG_PCI_SCAN_SHOW 1 */ +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/M54455EVB.h +1 -1
@@ -175,7 +175,7 @@#ifdef CONFIG_CMD_PCI #define CONFIG_PCI 1#define CONFIG_PCI_PNP 1 -#define CONFIG_SKIPPCI_HOSTBRIDGE +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CFG_PCI_CACHE_LINE_SIZE 4
include/configs/M5475EVB.h +1 -1
@@ -132,7 +132,7 @@#ifdef CONFIG_CMD_PCI #define CONFIG_PCI 1#define CONFIG_PCI_PNP 1 -#define CONFIG_SKIPPCI_HOSTBRIDGE +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CFG_PCI_CACHE_LINE_SIZE 8
include/configs/M5485EVB.h +1 -0
@@ -129,6 +129,7 @@#ifdef CONFIG_CMD_PCI #define CONFIG_PCI 1#define CONFIG_PCI_PNP 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CFG_PCI_MEM_BUS 0x80000000#define CFG_PCI_MEM_PHYS CFG_PCI_MEM_BUS
include/configs/PM520.h +1 -0
@@ -57,6 +57,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1#define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/TOP5200.h +1 -0
@@ -67,6 +67,7 @@# define CONFIG_PCI 1# define CONFIG_PCI_PNP 1# define CONFIG_PCI_SCAN_SHOW 1 +# define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1# define CONFIG_PCI_MEM_BUS 0x40000000# define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/TQM5200.h +1 -0
@@ -85,6 +85,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1/* #define CONFIG_PCI_SCAN_SHOW 1 */ +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/Total5200.h +1 -0
@@ -80,6 +80,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1#define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/aev.h +1 -0
@@ -60,6 +60,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1/* #define CONFIG_PCI_SCAN_SHOW 1 */ +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/cpci5200.h +1 -0
@@ -69,6 +69,7 @@#define CONFIG_PCI_PNP 1#endif #define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/hmi1001.h +1 -0
@@ -336,6 +336,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1#define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/inka4x0.h +1 -0
@@ -55,6 +55,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1#define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/jupiter.h +1 -0
@@ -58,6 +58,7 @@#if defined(CONFIG_PCI )#define CONFIG_PCI_PNP 1#define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/o2dnt.h +1 -0
@@ -52,6 +52,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1/* #define CONFIG_PCI_SCAN_SHOW 1 */ +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/pf5200.h +1 -0
@@ -69,6 +69,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1#define CONFIG_PCI_SCAN_SHOW 1 +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
include/configs/spieval.h +1 -0
@@ -68,6 +68,7 @@#define CONFIG_PCI 1#define CONFIG_PCI_PNP 1/* #define CONFIG_PCI_SCAN_SHOW 1 */ +#define CONFIG_PCIAUTO_SKIP_HOST_BRIDGE 1#define CONFIG_PCI_MEM_BUS 0x40000000#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
Signature · 1 line
1.5.4.1
Wolfgang Denk
NAKPATCH 1/1 Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
Quoted 26 lines · In message <[email protected]>…
Signed-off-by TsiChung Liew <[email protected]>--- drivers/pci/pci_auto.c | 2 +- include/configs/BC3450.h | 1 + include/configs/M54455EVB.h | 2 +- include/configs/M5475EVB.h | 2 +- include/configs/M5485EVB.h | 1 + include/configs/PM520.h | 1 + include/configs/TOP5200.h | 1 + include/configs/TQM5200.h | 1 + include/configs/Total5200.h | 1 + include/configs/aev.h | 1 + include/configs/cpci5200.h | 1 + include/configs/hmi1001.h | 1 + include/configs/inka4x0.h | 1 + include/configs/jupiter.h | 1 + include/configs/o2dnt.h | 1 + include/configs/pf5200.h | 1 + include/configs/spieval.h | 1 + 17 files changed, 17 insertions(+), 3 deletions(-)drivers/pci/pci_auto.c +0
-0
drivers/pci/pci_auto.c int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev) · line 386
Quoted 5 lines
drivers/pci/pci_auto.c +1
-1@@ -383,7 +383,7 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev) hose->current_busno++;break ; -#if defined(CONFIG_MPC5200 ) || defined(CONFIG_PCIAUTO_SKIP_HOST_BRIDGE ) +#ifdef CONFIG_PCIAUTO_SKIP_HOST_BRIDGE
Um... You would have to add CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to *all* board configurations that are based on a MPC5200 CPU, not just the small selection above.
NAK.
Best regards,
Wolfgang Denk
Signature · 6 lines
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
It is common sense to take a method and try it. If it fails, admit it
frankly and try another. But above all, try something.
- Franklin D. RooseveltPATCH 1/1 Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
Wolfgang,
Quoted 3 lines
Um... You would have to add
CONFIG_PCIAUTO_SKIP_HOST_BRIDGEto *all* board configurations that are based on a MPC5200 CPU, not just the small selection above.
Even the MPC52xx base boards do not have CONFIG_PCI and CONFIG_CMD_PCI included in board configuration file? There are quite a few board configuration files that do not have them included.
The selection was only targeting the configuration files that have CONFIG_CMD_PCI and CONFIG_PCI included. The current patch only missed 1
- IceCube.h configuration file, and I will fix that in the next patch.
Let me know what is your decision; however, I still do not see the need adding CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to MPC5200 base boards that are not supporting PCI.
Thanks.
Regards,
TsiChung
PATCH 1/1 Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
Quoted 4 lines · In message <4791E710007FEB4BBF83775D787F462F06F0C076@az33exm22.fsl.freescale.ne…
Let me know what is your decision; however, I still do not see the need adding
CONFIG_PCIAUTO_SKIP_HOST_BRIDGEto MPC5200 base boards that are not supporting PCI.
Agreed.
Best regards,
Wolfgang Denk
Signature · 6 lines
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 You Earth people glorified organized violence for forty centuries. But you imprison those who employ it privately. -- Spock, "Dagger of the Mind", stardate 2715.1