board: starfive: visionfive2: Order board detection logic to match config
authorE Shattow <e@freeshell.de>
Tue, 22 Apr 2025 06:49:17 +0000 (23:49 -0700)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 25 Apr 2025 09:04:09 +0000 (17:04 +0800)
commit5ac699efe94f24df561d33e420d3c73f5fb797e8
tree9e99a7dc517dc1fa2a4005502579c5c1dd7863fa
parent84028132afffdb1ef31b9ece8da0790782164fa2
board: starfive: visionfive2: Order board detection logic to match config

Refactor inside-out EEPROM-checking logic to better match the board-seeking
callback and ordered list of targets from starfive_visionfive2_config since
the JH7110 OF_UPSTREAM migration.

Signed-off-by: E Shattow <e@freeshell.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/starfive/visionfive2/spl.c