vme8349: Migrate to CONFIG_TARGET_VME8349
authorMario Six <mario.six@gdsys.cc>
Mon, 21 Jan 2019 08:17:37 +0000 (09:17 +0100)
committerMario Six <mario.six@gdsys.cc>
Mon, 20 May 2019 11:50:34 +0000 (13:50 +0200)
CONFIG_TARGET_VME8349 can replace CONFIG_VME8349. Hence, replace
CONFIG_VME8349 with CONFIG_TARGET_VME8349, and remove CONFIG_VME8349.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
drivers/pci/pci_auto.c
drivers/pci/pci_auto_old.c
include/configs/vme8349.h

index a673d8ae136b920de0e097967dfb174420d26ad1..f5e46842bf68d06270327e8e8b620d0e9891a49a 100644 (file)
@@ -359,7 +359,7 @@ int dm_pciauto_config_device(struct udevice *dev)
                      PCI_DEV(dm_pci_get_bdf(dev)));
                break;
 #endif
-#if defined(CONFIG_ARCH_MPC834X) && !defined(CONFIG_VME8349)
+#if defined(CONFIG_ARCH_MPC834X) && !defined(CONFIG_TARGET_VME8349)
        case PCI_CLASS_BRIDGE_OTHER:
                /*
                 * The host/PCI bridge 1 seems broken in 8349 - it presents
index 90c22a08cbc7a632e439db364a3373c5c7d95f8e..6ab1b3b43fccc1414255a6d61eb55cabab5c00d9 100644 (file)
@@ -376,7 +376,7 @@ int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev)
                      PCI_DEV(dev));
                break;
 #endif
-#if defined(CONFIG_ARCH_MPC834X) && !defined(CONFIG_VME8349)
+#if defined(CONFIG_ARCH_MPC834X) && !defined(CONFIG_TARGET_VME8349)
        case PCI_CLASS_BRIDGE_OTHER:
                /*
                 * The host/PCI bridge 1 seems broken in 8349 - it presents
index 5695550130906428f4d4f20e59f9c15036bbff8e..fe570abf8f7704fef007abc3eb5cacf0e7d2bf1f 100644 (file)
@@ -28,7 +28,6 @@
  * High Level Configuration Options
  */
 #define CONFIG_E300            1       /* E300 Family */
-#define CONFIG_VME8349         1       /* ESD VME8349 board specific */
 
 /* Don't enable PCI2 on vme834x - it doesn't exist physically. */
 #undef CONFIG_MPC83XX_PCI2             /* support for 2nd PCI controller */