How to add SPI driver in uboot on IMX28

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to add SPI driver in uboot on IMX28

751件の閲覧回数
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 返信

445件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport
0 件の賞賛