qca: Moved CONFIG_SF_DEFAULT_SPEED to board specific

To avoid compiler warning.

Change-Id: Iedbbbe9166af77286715c7a6b09a90f00cb3b34e
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
This commit is contained in:
Gokul Sriram Palanisamy 2016-07-27 12:46:43 +05:30 committed by Gerrit - the friendly Code Review server
parent 5c9e6939cf
commit 3891c01666
3 changed files with 2 additions and 2 deletions

View file

@ -133,8 +133,6 @@ int ipq_spi_init(u16 idx)
int ret;
struct mtd_info *mtd;
#define CONFIG_SF_DEFAULT_SPEED (48 * 1000 * 1000)
flash = spi_flash_probe(CONFIG_SF_DEFAULT_BUS,
CONFIG_SF_DEFAULT_CS,
CONFIG_SF_DEFAULT_SPEED,

View file

@ -173,6 +173,7 @@ typedef struct {
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
#define CONFIG_SF_DEFAULT_SPEED (48 * 1000 * 1000)
#define CONFIG_SPI_FLASH_BAR 1
#define CONFIG_IPQ40XX_EDMA 1

View file

@ -101,6 +101,7 @@
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
#define CONFIG_SF_DEFAULT_SPEED (48 * 1000 * 1000)
#define CONFIG_SPI_FLASH_BAR 1
#define CONFIG_EFI_PARTITION