How to add SPI driver in uboot on IMX28

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add SPI driver in uboot on IMX28

746 次查看
jeyzhou
Contributor I

Hi,

  We want to add spi driver into u-boot to bring up with spi nor flash on imx28.

  Could you please share us the patch especially with mxs_spi.c?

  We meet the following issue when we use a old mxs_spi.c.

spi_flash_probe bus =2, cs =0, spi mode =3

spi_setup_slave: bus=2, cs=0, max_hz=20000000, mode=3

spi_xfer: enter

MXS SPI: Timeout waiting for data

Error: spi_nor_flash_query(): 0x00:0x00:0x00

SF: Failed to read the ID codes

*** Warning - bad CRC, using default environment

Best Regards,

Jey

0 项奖励
1 回复

440 次查看
jimmychan
NXP TechSupport
NXP TechSupport
0 项奖励