From a3dd3c3a941794bd6efcdfac0b70bfae7441ed29 Mon Sep 17 00:00:00 2001 From: Wealian Liao Date: Thu, 17 Dec 2020 18:43:51 +0800 Subject: npcx9: remove unnecessary default CONFIGs for internal flash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In npcx9, the internal flash is accessed via FIU/UMA (implementing in chip/npcx/flash.c). It won’t use the common/spi_flash.c to access the internal flash. Let’s remove these two default CONFIGs to prevent people from confusing. BRANCH=none BUG=b:165777478 TEST=buildall pass Signed-off-by: Wealian Liao Signed-off-by: CHLin Change-Id: Id04dc9ff5402262b5cdf0815ae953ced777b5d96 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597124 Reviewed-by: caveh jalali --- chip/npcx/config_chip-npcx9.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/chip/npcx/config_chip-npcx9.h b/chip/npcx/config_chip-npcx9.h index 9f7b0f52d0..a13723f980 100644 --- a/chip/npcx/config_chip-npcx9.h +++ b/chip/npcx/config_chip-npcx9.h @@ -98,8 +98,6 @@ #endif /* Internal spi-flash setting */ -#define CONFIG_SPI_FLASH_PORT 0 -#define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_REGS #define CONFIG_SPI_FLASH_W25Q40 /* Internal spi flash type */ #define CONFIG_FLASH_SIZE 0x00080000 /* 512 KB internal spi flash */ -- cgit v1.2.1