]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global_data: Drop global_data hose
authorSimon Glass <sjg@chromium.org>
Wed, 21 Aug 2024 16:19:06 +0000 (10:19 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 26 Aug 2024 20:05:38 +0000 (14:05 -0600)
This is set on one x86 boards, but is not used anymore. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/cpu.c
include/asm-generic/global_data.h

index d71ab0a6385eb32242103ed964657fae0204201b..05691a38d2e8b8c3c547d6fe23be990609e25770 100644 (file)
@@ -55,7 +55,6 @@ int arch_cpu_init(void)
 
 static int ivybridge_cpu_init(void)
 {
-       struct pci_controller *hose;
        struct udevice *bus, *dev;
        int ret;
 
@@ -65,10 +64,6 @@ static int ivybridge_cpu_init(void)
        if (ret)
                return ret;
        post_code(0x72);
-       hose = dev_get_uclass_priv(bus);
-
-       /* TODO(sjg@chromium.org): Get rid of gd->hose */
-       gd->hose = hose;
 
        ret = uclass_first_device_err(UCLASS_LPC, &dev);
        if (ret)
index ae3973804793b71747c9a08c6c6307ce348030a0..b860f3626b81662e39589c2841b737a3ed4a26d2 100644 (file)
@@ -298,12 +298,6 @@ struct global_data {
         */
        unsigned long malloc_ptr;
 #endif
-#ifdef CONFIG_PCI
-       /**
-        * @hose: PCI hose for early use
-        */
-       struct pci_controller *hose;
-#endif
 #ifdef CONFIG_PCI_BOOTDELAY
        /**
         * @pcidelay_done: delay time before scanning of PIC hose expired