diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-09-02 19:31:45 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-11-01 15:58:47 +0100 |
commit | def6f53d21652e7c5339bfbf8b23e79c0c2560b2 (patch) | |
tree | ee59a10fd670e77c2d4faa052e91afd86e5bb590 /board/ge/bx50v3 | |
parent | 987b8f614c066478aeb9b4ad869613ec23835fbc (diff) | |
download | u-boot-def6f53d21652e7c5339bfbf8b23e79c0c2560b2.tar.gz u-boot-def6f53d21652e7c5339bfbf8b23e79c0c2560b2.tar.xz u-boot-def6f53d21652e7c5339bfbf8b23e79c0c2560b2.zip |
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/bx50v3')
-rw-r--r-- | board/ge/bx50v3/bx50v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index c6b0af8c77..8a38ac5d4e 100644 --- a/board/ge/bx50v3/bx50v3.c +++ b/board/ge/bx50v3/bx50v3.c @@ -429,7 +429,7 @@ static void set_confidx(const struct vpd_cache* vpd) int board_init(void) { - if (!read_vpd(&vpd, vpd_callback)) { + if (!read_i2c_vpd(&vpd, vpd_callback)) { int ret, rescan; vpd.is_read = true; |