]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: cssi: Load FPGA on MCR3000 board
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 14 Apr 2024 09:17:13 +0000 (11:17 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Apr 2024 13:47:46 +0000 (15:47 +0200)
commit313ffe2746b6d89a34aab9a844a1753538564ffa
tree7560a5ed9413efd57d198effdda74373e066904e
parent60dcbecfe0620202e83121b13ceda1e966b16c0a
board: cssi: Load FPGA on MCR3000 board

Unlike CMPC885 and CMPCPRO boards, the FPGA of MCR3000 board doesn't
load code automatically but needs to be loaded by software through SPI.

Until now it was loaded later by Linux, but we'd like U-boot to have
access to some information that require the FPGA, like board address
in racks.

So, implemented the load of FPGA in U-boot.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
To avoid spamming your email boxes, the code isn't included in
the emailed patch but will be present in the PULL request
arch/powerpc/dts/mcr3000.dts
board/cssi/mcr3000/fpga_code.h [new file with mode: 0644]
board/cssi/mcr3000/mcr3000.c