aboutsummaryrefslogtreecommitdiffstats
path: root/board/ge/mx53ppd
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2020-09-02 19:31:45 +0200
committerStefano Babic <sbabic@denx.de>2020-11-01 15:58:47 +0100
commitdef6f53d21652e7c5339bfbf8b23e79c0c2560b2 (patch)
treeee59a10fd670e77c2d4faa052e91afd86e5bb590 /board/ge/mx53ppd
parent987b8f614c066478aeb9b4ad869613ec23835fbc (diff)
downloadu-boot-def6f53d21652e7c5339bfbf8b23e79c0c2560b2.tar.gz
board: ge: common: vpd: separate I2C specific code
This separates the I2C specific code from the generic GE vital product data code, so that the generic parts can be used on hardware with VPD stored in SPI flash memory. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'board/ge/mx53ppd')
-rw-r--r--board/ge/mx53ppd/mx53ppd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ge/mx53ppd/mx53ppd.c b/board/ge/mx53ppd/mx53ppd.c
index 2e9d389850a..ef689733c41 100644
--- a/board/ge/mx53ppd/mx53ppd.c
+++ b/board/ge/mx53ppd/mx53ppd.c
@@ -225,7 +225,7 @@ int board_late_init(void)
struct vpd_cache vpd;
memset(&vpd, 0, sizeof(vpd));
- res = read_vpd(&vpd, vpd_callback);
+ res = read_i2c_vpd(&vpd, vpd_callback);
if (!res)
process_vpd(&vpd);
else