mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
Convert CONFIG_SYS_CFI_FLASH_STATUS_POLL to Kconfig
This converts the following to Kconfig: CONFIG_SYS_CFI_FLASH_STATUS_POLL Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
2f57139c21
commit
e2475141bd
12 changed files with 13 additions and 5 deletions
|
@ -39,6 +39,7 @@ CONFIG_ALTERA_SYSID=y
|
|||
CONFIG_DM_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_PROTECTION=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_DM_MTD=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_FTSDC010_SDIO=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_FTSDC010_SDIO=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_DM_MTD=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_DM_MTD=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_FTSDC010_SDIO=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_FTSDC010_SDIO=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_FLASH_CFI_DRIVER=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_DM_MTD=y
|
|||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
||||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_SYS_CFI_FLASH_STATUS_POLL=y
|
||||
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_SPI_FLASH_MACRONIX=y
|
||||
|
|
|
@ -96,6 +96,10 @@ config CFI_FLASH_USE_WEAK_ACCESSORS
|
|||
Enable this option to allow for the flash_{read,write}{8,16,32,64}
|
||||
functions to be overridden by the platform.
|
||||
|
||||
config SYS_CFI_FLASH_STATUS_POLL
|
||||
bool "Poll status on AMD flash chips"
|
||||
depends on FLASH_CFI_DRIVER
|
||||
|
||||
config SYS_FLASH_USE_BUFFER_WRITE
|
||||
bool "Enable buffered writes to flash"
|
||||
depends on FLASH_CFI_DRIVER
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
/*
|
||||
* CFI Flash
|
||||
*/
|
||||
#define CONFIG_SYS_CFI_FLASH_STATUS_POLL /* fix amd flash issue */
|
||||
#define CONFIG_SYS_MAX_FLASH_SECT 512
|
||||
|
||||
/*
|
||||
|
|
|
@ -56,10 +56,6 @@
|
|||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000000 - \
|
||||
GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
/* use CFI framework */
|
||||
|
||||
#define CONFIG_SYS_CFI_FLASH_STATUS_POLL
|
||||
|
||||
/* support JEDEC */
|
||||
#define PHYS_FLASH_1 0x88000000 /* BANK 0 */
|
||||
#define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1
|
||||
|
|
Loading…
Reference in a new issue