board: ge: bx50v3: reduce magic numbers
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 4 Nov 2020 16:18:41 +0000 (17:18 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 6 Dec 2020 14:31:36 +0000 (15:31 +0100)
commit2d86fb31bdee7d428a3e423d54b51e5e02221682
tree1103f0b535de283f67134886a8b0e38cf05ff4d8
parent822e1b31bdf6abec87375a8e4fd1fe2b830bdce0
board: ge: bx50v3: reduce magic numbers

Use VPD product ID instead of confidx, so that we can easily reuse the
product ID defines and avoid some magic numbers.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
board/ge/bx50v3/bx50v3.c