summaryrefslogtreecommitdiff
path: root/board/ge
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2020-11-04 19:18:38 +0300
committerStefano Babic <sbabic@denx.de>2020-12-06 17:31:36 +0300
commitc4c2d2465eb9a03061ac5ae3898f720124c23138 (patch)
tree29e30d0f18b5ac3feaaeaeb93ce977e092337ece /board/ge
parentb5874b552ffa09bc1dc5dec6b5dd376c62dab45d (diff)
downloadu-boot-c4c2d2465eb9a03061ac5ae3898f720124c23138.tar.xz
board: ge: common: vpd: fix name
Commit f692b479f02d changed the VPD partition name from "vpd" to "vpd@0". Fix the VPD reader code to use the new name, so that the VPD code keeps working. Fixes: f692b479f02d ("i2c: eeprom: Use reg property instead of offset and size") Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'board/ge')
-rw-r--r--board/ge/common/vpd_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ge/common/vpd_reader.c b/board/ge/common/vpd_reader.c
index 421fee5922..c28d2c03cf 100644
--- a/board/ge/common/vpd_reader.c
+++ b/board/ge/common/vpd_reader.c
@@ -209,7 +209,7 @@ int read_i2c_vpd(struct vpd_cache *cache,
u8 *data;
int size;
- ret = uclass_get_device_by_name(UCLASS_I2C_EEPROM, "vpd", &dev);
+ ret = uclass_get_device_by_name(UCLASS_I2C_EEPROM, "vpd@0", &dev);
if (ret)
return ret;