path: root/drivers/pch/pch7.c
diff options
authorBin Meng <>2016-02-01 01:40:41 -0800
committerBin Meng <>2016-02-05 12:47:21 +0800
commitd02be99e6774b99c27b7d4304865c7f45e1ac4b4 (patch)
tree158ab527315a42bde5f46c10ff6c56f277e150bc /drivers/pch/pch7.c
parent254e6779258f9f3aa8ba67fb4506fd570fae9687 (diff)
dm: pch: Remove pch_get_version op
pch_get_version op was only used by the ich spi controller driver, and does not really provide a good identification of pch controller so far, since we see plenty of Intel PCH chipsets and one differs from another a lot, which is not simply either a PCHV_7 or PCHV_9. Now that ich spi controller driver was updated to not get such info from pch, the pch_get_version op is useless now. Signed-off-by: Bin Meng <> Reviewed-by: Simon Glass <> Tested-by: Simon Glass <>
Diffstat (limited to 'drivers/pch/pch7.c')
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pch/pch7.c b/drivers/pch/pch7.c
index ef724221c2..7c6a2ca086 100644
--- a/drivers/pch/pch7.c
+++ b/drivers/pch/pch7.c
@@ -22,11 +22,6 @@ static int pch7_get_sbase(struct udevice *dev, ulong *sbasep)
return 0;
-static enum pch_version pch7_get_version(struct udevice *dev)
- return PCHV_7;
static int pch7_set_spi_protect(struct udevice *dev, bool protect)
uint8_t bios_cntl;
@@ -44,7 +39,6 @@ static int pch7_set_spi_protect(struct udevice *dev, bool protect)
static const struct pch_ops pch7_ops = {
.get_sbase = pch7_get_sbase,
- .get_version = pch7_get_version,
.set_spi_protect = pch7_set_spi_protect,
OpenPOWER on IntegriCloud