Commit 6cd2602d61fc4bc172fd99dcbe9b930428992331
1 parent
ec3cde1e83
Exists in
v2017.01-smarct4x
and in
25 other branches
x86: fdt: Drop the unused compatible strings in fdtdec
We have drivers for several more devices now, so drop the strings which are no-longer used. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Showing 3 changed files with 0 additions and 16 deletions Side-by-side Diff
arch/x86/cpu/ivybridge/lpc.c
... | ... | @@ -424,8 +424,6 @@ |
424 | 424 | static int lpc_init_extra(struct udevice *dev) |
425 | 425 | { |
426 | 426 | struct udevice *pch = dev->parent; |
427 | - const void *blob = gd->fdt_blob; | |
428 | - int node; | |
429 | 427 | |
430 | 428 | debug("pch: lpc_init\n"); |
431 | 429 | dm_pci_write_bar32(pch, 0, 0); |
... | ... | @@ -433,10 +431,6 @@ |
433 | 431 | dm_pci_write_bar32(pch, 2, 0xfec00000); |
434 | 432 | dm_pci_write_bar32(pch, 3, 0x800); |
435 | 433 | dm_pci_write_bar32(pch, 4, 0x900); |
436 | - | |
437 | - node = fdtdec_next_compatible(blob, 0, COMPAT_INTEL_PCH); | |
438 | - if (node < 0) | |
439 | - return -ENOENT; | |
440 | 434 | |
441 | 435 | /* Set the value for PCI command register. */ |
442 | 436 | dm_pci_write_config16(pch, PCI_COMMAND, 0x000f); |
include/fdtdec.h
... | ... | @@ -149,14 +149,9 @@ |
149 | 149 | COMPAT_SAMSUNG_EXYNOS5_I2C, /* Exynos5 High Speed I2C Controller */ |
150 | 150 | COMPAT_SAMSUNG_EXYNOS_SYSMMU, /* Exynos sysmmu */ |
151 | 151 | COMPAT_INTEL_MICROCODE, /* Intel microcode update */ |
152 | - COMPAT_INTEL_PANTHERPOINT_AHCI, /* Intel Pantherpoint AHCI */ | |
153 | - COMPAT_INTEL_MODEL_206AX, /* Intel Model 206AX CPU */ | |
154 | - COMPAT_INTEL_GMA, /* Intel Graphics Media Accelerator */ | |
155 | 152 | COMPAT_AMS_AS3722, /* AMS AS3722 PMIC */ |
156 | - COMPAT_INTEL_ICH_SPI, /* Intel ICH7/9 SPI controller */ | |
157 | 153 | COMPAT_INTEL_QRK_MRC, /* Intel Quark MRC */ |
158 | 154 | COMPAT_SOCIONEXT_XHCI, /* Socionext UniPhier xHCI */ |
159 | - COMPAT_INTEL_PCH, /* Intel PCH */ | |
160 | 155 | COMPAT_ALTERA_SOCFPGA_DWMAC, /* SoCFPGA Ethernet controller */ |
161 | 156 | COMPAT_ALTERA_SOCFPGA_DWMMC, /* SoCFPGA DWMMC controller */ |
162 | 157 | COMPAT_ALTERA_SOCFPGA_DWC2USB, /* SoCFPGA DWC2 USB controller */ |
lib/fdtdec.c
... | ... | @@ -54,14 +54,9 @@ |
54 | 54 | COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"), |
55 | 55 | COMPAT(SAMSUNG_EXYNOS_SYSMMU, "samsung,sysmmu-v3.3"), |
56 | 56 | COMPAT(INTEL_MICROCODE, "intel,microcode"), |
57 | - COMPAT(INTEL_PANTHERPOINT_AHCI, "intel,pantherpoint-ahci"), | |
58 | - COMPAT(INTEL_MODEL_206AX, "intel,model-206ax"), | |
59 | - COMPAT(INTEL_GMA, "intel,gma"), | |
60 | 57 | COMPAT(AMS_AS3722, "ams,as3722"), |
61 | - COMPAT(INTEL_ICH_SPI, "intel,ich-spi"), | |
62 | 58 | COMPAT(INTEL_QRK_MRC, "intel,quark-mrc"), |
63 | 59 | COMPAT(SOCIONEXT_XHCI, "socionext,uniphier-xhci"), |
64 | - COMPAT(COMPAT_INTEL_PCH, "intel,bd82x6x"), | |
65 | 60 | COMPAT(ALTERA_SOCFPGA_DWMAC, "altr,socfpga-stmmac"), |
66 | 61 | COMPAT(ALTERA_SOCFPGA_DWMMC, "altr,socfpga-dw-mshc"), |
67 | 62 | COMPAT(ALTERA_SOCFPGA_DWC2USB, "snps,dwc2"), |