mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 07:30:26 +09:00
board: ge: common: vpd: fix name
Commitf692b479f0
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:f692b479f0
("i2c: eeprom: Use reg property instead of offset and size") Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
b5874b552f
commit
c4c2d2465e
@ -209,7 +209,7 @@ int read_i2c_vpd(struct vpd_cache *cache,
|
|||||||
u8 *data;
|
u8 *data;
|
||||||
int size;
|
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)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user