diff options
author | Simon Glass | 2019-05-18 11:59:49 -0600 |
---|---|---|
committer | Simon Glass | 2019-07-10 16:52:58 -0600 |
commit | 24c2776ba9002fadbf7cf86a0f5bc6a17cc08290 (patch) | |
tree | 9829d6a9a76ab821cb45084dff430abd4dd899fe /drivers/spi/Kconfig | |
parent | e676f4397c019840e2b0d7330506a857c6dc5a81 (diff) |
sandbox: Correct spi flash operation
Since the SPI nor conversion, 'sf probe' does not work on sandbox. Fix
this by using the expected compatible string in the flash node.
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: cd35365762 (mtd: sf_probe: remove spi-flash compatible)
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index f9b282313a2..8e1424ba42b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -226,7 +226,7 @@ config SANDBOX_SPI cs-gpios = <0>, <&gpio_a 0>; flash@0 { reg = <0>; - compatible = "spansion,m25p16", "sandbox,spi-flash"; + compatible = "spansion,m25p16", "jedec,spi-nor"; spi-max-frequency = <40000000>; sandbox,filename = "spi.bin"; }; |