From 72b7f8a6fbd5794ce8f8ea115acd52a5e016622b Mon Sep 17 00:00:00 2001 From: Balaji Jagadeesan Date: Thu, 1 Mar 2018 10:49:26 +0530 Subject: [PATCH] ipq806x: spi: Enable 4K sector size support Change-Id: I0faecf5c7aa67854752ff51aed90114c6238428f Signed-off-by: Balaji Jagadeesan --- include/configs/ipq806x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ipq806x.h b/include/configs/ipq806x.h index 9a8732209d..4285595ef5 100644 --- a/include/configs/ipq806x.h +++ b/include/configs/ipq806x.h @@ -267,6 +267,7 @@ typedef struct { #define CONFIG_ENV_IS_IN_SPI_FLASH 1 #define CONFIG_ENV_SECT_SIZE (64 * 1024) +#define CONFIG_SPI_FLASH_USE_4K_SECTORS #define CONFIG_SF_DEFAULT_BUS 0 #define CONFIG_SF_DEFAULT_CS 0 #define CONFIG_SF_DEFAULT_SPEED (48 * 1000 * 1000)