This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5708: SPI driver model in U-boot

Part Number: AM5708
Other Parts Discussed in Thread: BEAGLEBOARD-X15, AM5728,

Tool/software: Linux

I realize that my u-boot (version 2017.01) cannot talk to SPI Flash if I have Driver Model (CONFIG_DM_SPI and CONFIG_DM_SPI_FLASH) is enabled:

U-Boot 2017.01-00454-g1405fb1-dirty (Apr 24 2018 - 16:52:12 -0400)

CPU : DRA722-GP ES2.1
Model: TI AM5728 BeagleBoard-X15
Board: AM5708 Dev REV
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
*** Warning - bad CRC, using default environment


Warning: fastboot.board_rev: unknown board revision

Net: <ethaddr> not set. Validating first E-fuse MAC
Could not get PHY for cpsw: addr 1
cpsw
Hit any key to stop autoboot: 0
=> sf probe
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)
=>

I see that Driver Model is enabled by default for am57xx_evm_defconfig. Is this to be expected?