[U-Boot-Users] reg to configure DSPI in mcf54455

Liew Tsi Chung Tsi-chung.Liew at freescale.com
Fri Apr 11 16:05:50 CEST 2008


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




More information about the U-Boot mailing list