arm: mvebu: clearfog: Fix SPI-NOR flash access
authorJon Nettleton <jon@solid-run.com>
Mon, 13 Nov 2017 05:04:30 +0000 (07:04 +0200)
committerStefan Roese <sr@denx.de>
Thu, 16 Nov 2017 10:45:20 +0000 (11:45 +0100)
commit962b8fef91fbfa58c1045bee4d9a73c72b46c829
tree3d67f6d0a794c7abd2274877b9d3307dd50f4d19
parentb4b06ac6f767b833acf7cf6e7533ead2f4425378
arm: mvebu: clearfog: Fix SPI-NOR flash access

The production variant of the SPI flash used by the clearfog
devices are based on winbond chips.  Additionally enable
SPI_FLASH_BAR since some variants will have 16MB of flash
that requires this to be enabled.

Remove the default speed and mode; these values are taken from the
device tree when CONFIG_DM_SPI_FLASH is enabled.

Add default bus, so that 'sf' detects the SPI flash by default.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
[baruch: remove speed/mode; add bus; move winbond to defconfig]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
configs/clearfog_defconfig
include/configs/clearfog.h