]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: cssi: Read and display MCR board address
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 14 Apr 2024 14:47:06 +0000 (16:47 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Apr 2024 13:47:46 +0000 (15:47 +0200)
commit741e30e8c2b837dc92ee2eedec5478afdd83a316
tree64f766d513a8cc88be675e66e695fc5b95511c78
parent313ffe2746b6d89a34aab9a844a1753538564ffa
board: cssi: Read and display MCR board address

MCR boards are plugged in racks. The position in the rack can be read
in a register.

For MCR3000, that's provided by the FPGA so check it is loaded before
reading the address.

For the other boards, the FPGA is loaded by hardware so it can be
read inconditionnaly.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
board/cssi/common/common.c
board/cssi/mcr3000/mcr3000.c