diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-02-01 01:40:41 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-02-05 12:47:21 +0800 |
commit | d02be99e6774b99c27b7d4304865c7f45e1ac4b4 (patch) | |
tree | 158ab527315a42bde5f46c10ff6c56f277e150bc /drivers/pch/pch-uclass.c | |
parent | 254e6779258f9f3aa8ba67fb4506fd570fae9687 (diff) | |
download | u-boot-d02be99e6774b99c27b7d4304865c7f45e1ac4b4.tar.gz |
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 <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pch/pch-uclass.c')
-rw-r--r-- | drivers/pch/pch-uclass.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/pch/pch-uclass.c b/drivers/pch/pch-uclass.c index 4579ed12f6..cae4f50e57 100644 --- a/drivers/pch/pch-uclass.c +++ b/drivers/pch/pch-uclass.c @@ -23,16 +23,6 @@ int pch_get_sbase(struct udevice *dev, ulong *sbasep) return ops->get_sbase(dev, sbasep); } -enum pch_version pch_get_version(struct udevice *dev) -{ - struct pch_ops *ops = pch_get_ops(dev); - - if (!ops->get_version) - return -ENOSYS; - - return ops->get_version(dev); -} - int pch_set_spi_protect(struct udevice *dev, bool protect) { struct pch_ops *ops = pch_get_ops(dev); |