diff options
author | Simon Glass <sjg@chromium.org> | 2016-06-19 17:33:11 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-11 14:06:44 -0600 |
commit | 6cd2602d61fc4bc172fd99dcbe9b930428992331 (patch) | |
tree | 7de139f4d56da43d26369f2fddde8f70e7612d69 /arch | |
parent | ec3cde1e832067352532013988f4590c2f2f6c4f (diff) | |
download | u-boot-imx-6cd2602d61fc4bc172fd99dcbe9b930428992331.zip u-boot-imx-6cd2602d61fc4bc172fd99dcbe9b930428992331.tar.gz u-boot-imx-6cd2602d61fc4bc172fd99dcbe9b930428992331.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/cpu/ivybridge/lpc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/cpu/ivybridge/lpc.c b/arch/x86/cpu/ivybridge/lpc.c index ff1faa5..4e0be2a 100644 --- a/arch/x86/cpu/ivybridge/lpc.c +++ b/arch/x86/cpu/ivybridge/lpc.c @@ -424,8 +424,6 @@ static void set_spi_speed(void) static int lpc_init_extra(struct udevice *dev) { struct udevice *pch = dev->parent; - const void *blob = gd->fdt_blob; - int node; debug("pch: lpc_init\n"); dm_pci_write_bar32(pch, 0, 0); @@ -434,10 +432,6 @@ static int lpc_init_extra(struct udevice *dev) dm_pci_write_bar32(pch, 3, 0x800); dm_pci_write_bar32(pch, 4, 0x900); - node = fdtdec_next_compatible(blob, 0, COMPAT_INTEL_PCH); - if (node < 0) - return -ENOENT; - /* Set the value for PCI command register. */ dm_pci_write_config16(pch, PCI_COMMAND, 0x000f); |