]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: ge: Move VPD reading to the vpd_reader
authorDenis Zalevskiy <denis.zalevskiy@ge.com>
Wed, 17 Oct 2018 08:33:30 +0000 (10:33 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 1 Jan 2019 13:12:18 +0000 (14:12 +0100)
commit4dcbccf794a330895ee2aeba6964a94b33c60eda
treee6df99bc24071ed9cf066063a3a033dd29bd3269
parent4c552083503f49f37412972a3b4ea895cffd948e
board: ge: Move VPD reading to the vpd_reader

Merge functionality duplicated in bx50v3 and mx53ppd: the logic
is the same except that process_vpd is called at different phases.
Also read_vpd could end up in error, so there is no VPD data in this
case - it shouldn't be processed.

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@ge.com>
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
board/ge/bx50v3/bx50v3.c
board/ge/common/vpd_reader.c
board/ge/common/vpd_reader.h
board/ge/mx53ppd/mx53ppd.c