diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-08-22 16:46:55 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-08-25 13:48:11 -0700 |
commit | 6002c75c59249aacb0a4a105d2b6ef1b3236e37f (patch) | |
tree | 36905b67f8b3d16781b686e9f88c7edd64d22489 /drivers/i2c | |
parent | eb3f68afbc8b8b2bdb491f61c342aabb776c8321 (diff) | |
download | u-boot-6002c75c59249aacb0a4a105d2b6ef1b3236e37f.tar.gz u-boot-6002c75c59249aacb0a4a105d2b6ef1b3236e37f.tar.bz2 u-boot-6002c75c59249aacb0a4a105d2b6ef1b3236e37f.zip |
ARM: tegra: remove stale nvidia, bpmp I2C DT property
The nvidia,bpmp property is left over from an old BPMP I2C binding, and
shouldn't be present. Remove it from the SoC DT file, and update the
I2C driver not to parse it; the value wasn't used for anything any more
anyway.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/tegra186_bpmp_i2c.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/i2c/tegra186_bpmp_i2c.c b/drivers/i2c/tegra186_bpmp_i2c.c index 88e8413d9e..513c414ae3 100644 --- a/drivers/i2c/tegra186_bpmp_i2c.c +++ b/drivers/i2c/tegra186_bpmp_i2c.c @@ -89,16 +89,6 @@ static int tegra186_bpmp_i2c_xfer(struct udevice *dev, struct i2c_msg *msg, static int tegra186_bpmp_i2c_probe(struct udevice *dev) { struct tegra186_bpmp_i2c *priv = dev_get_priv(dev); - int ret; - struct fdtdec_phandle_args args; - - ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, dev->of_offset, - "nvidia,bpmp", NULL, 0, 0, &args); - if (ret < 0) { - debug("%s: fdtdec_parse_phandle_with_args() failed: %d\n", - __func__, ret); - return ret; - } priv->bpmp_bus_id = fdtdec_get_uint(gd->fdt_blob, dev->of_offset, "nvidia,bpmp-bus-id", U32_MAX); |