
11 Apr
2008
11 Apr
'08
4:05 p.m.
Karthik,
The current M5445EVB U-boot has the DSPI support be part of the flash utility in board/freescale/m54455evb/flash.c, since the serial flash in 54455EVB is flash alike. The only feature that it can't perform is read back from the flash. I have not implemented the DSPI be part of the SPI and EEPROM utility. The SPI EEPROM might have a conflict if MCF5445x has I2C EEPROM support at the same time.
To implement the SPI (CONFIG_SPI) feature, provide spi_init_f(), spi_init_r(), spi_init(), spi_read(), spi_write(), and spi_xfer() in cpu/mcf5445x/dspi.c. Also, provide spi_eeprom_chipsel() and spi_chipsel[] in board/5445x/m5445xevb.
Regards, TsiChung