]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: config: Enable CONFIG_SPI_FLASH_BAR
authorMarek Vasut <marex@denx.de>
Mon, 20 Jul 2015 03:48:37 +0000 (05:48 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:09 +0000 (14:14 +0200)
This is needed to access broken (read: Micron) SPI flashes which
are larger than 16 MiB and don't correctly support 4-byte addressing.

Signed-off-by: Marek Vasut <marex@denx.de>
include/configs/socfpga_common.h

index 24f2ec01b1ada9e4a8ce1bf7891274ddbc48b12a..9ee4a75eb1388c5ec26e2cff565e586904a942aa 100644 (file)
@@ -207,6 +207,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #endif
 #define CONFIG_CQSPI_DECODER           0
 #define CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH_BAR
 #endif
 
 #ifdef CONFIG_OF_CONTROL       /* DW SPI is controlled via DT */