On 2/4/20 5:49 AM, Bin Meng wrote:
> Hi Sean,
> 
> On Mon, Jan 20, 2020 at 7:13 AM Sean Anderson <sean...@gmail.com> wrote:
>>
>> Currently, the sf command will probe anything attached to an spi bus, 
>> regardless
>> of whether it is UCLASS_SPI_FLASH. This came up when testing the mmc_spi 
>> driver,
> 
> Did you do something like:
> 
> => sf probe 1 0

sf probe 0, but yes. I forgot that my spi bus 0 had the SD card on it
not the spi flash. I feel like this sort of thing should be caught by
u-boot to prevent the user from almost certainly causing a segfault.

--Sean

Reply via email to