#
741e30e8 |
|
14-Apr-2024 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
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> |
#
8ec8fd69 |
|
01-Dec-2023 |
Hugo Dubois <hugo.dubois.ext@csgroup.eu> |
board: cssi: Initialise port F on MIAE When equipped with the SRSA audio board, MIAE equipment has an additional port called port F. Initialise that port just like other ports of the board, so that it is already configured when starting Linux kernel. Signed-off-by: Hugo Dubois <hugo.dubois.ext@csgroup.eu> Reviewed-by: CASAUBON Jean Michel <jean-michel.casaubon@csgroup.eu> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |
#
78ba7b61 |
|
05-Apr-2023 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
board: cssi: Move all mother board code into common.c All the code used to manage the mother boards will be common to soon to come CPU board. Move all that code into common.c Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |
#
4b6a5388 |
|
05-Apr-2023 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
board: cssi: Refactor EEPROM read On cmpc885 board, the ethernet addresses are stored in an EEPROM that is accessed through SPI. A 3 bytes command is sent to the chip then the content gets read. At the time being a single block access is performed, ignoring the first 3 bytes read. Reword the SPI transfer to first send 3 bytes then receive the content of the EEPROM so that there don't be 3 dummy bytes at the beginning of the buffer. And move the function into common.c so that it can be reused by the board that will be added in a future patch. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |
#
3155b0af |
|
03-Apr-2023 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
board: cssi: Create dedicated file for common sources In preparation of the new cssi board called cmpcpro which we be introduce in a future patch, move common functions into a dedicated file in a common directory. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |
#
78ba7b61 |
|
05-Apr-2023 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
board: cssi: Move all mother board code into common.c All the code used to manage the mother boards will be common to soon to come CPU board. Move all that code into common.c Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |
#
4b6a5388 |
|
05-Apr-2023 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
board: cssi: Refactor EEPROM read On cmpc885 board, the ethernet addresses are stored in an EEPROM that is accessed through SPI. A 3 bytes command is sent to the chip then the content gets read. At the time being a single block access is performed, ignoring the first 3 bytes read. Reword the SPI transfer to first send 3 bytes then receive the content of the EEPROM so that there don't be 3 dummy bytes at the beginning of the buffer. And move the function into common.c so that it can be reused by the board that will be added in a future patch. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |
#
3155b0af |
|
03-Apr-2023 |
Christophe Leroy <christophe.leroy@csgroup.eu> |
board: cssi: Create dedicated file for common sources In preparation of the new cssi board called cmpcpro which we be introduce in a future patch, move common functions into a dedicated file in a common directory. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> |