-
Mamta Shukla authored
The SPI connection to the FLASH has 3 different configuration: FPGA-FLASH, GENNUM-FLASH, GENNUM-FPGA to program the FPGA from the FEC ,GENNUM-FGPA mode is needed, but to use the MTD driver FPGA-FLASH mode is required. Hence, enforce bootsel(GPIO) to FPGA-FLASH mode after firmware is loaded in GENNUM-FPGA mode and before initiating SPI communication & initializing the FPGA through spec_fpga_init(spec_gn412x) , to identify flash chip id from spi-ocores and m25p80 driver. Signed-off-by: Mamta Shukla <mamta.ramendra.shukla@cern.ch> Suggested-by: Federico Vaga <federico.vaga@cern.ch>
e7d43f1f