mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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:
parent
5c9e6939cf
commit
3891c01666
3 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue