diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-24 17:18:04 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-01 10:28:47 -0400 |
commit | d4a2c400d16f1ba563b55fe4c72ebe6df7b32ff5 (patch) | |
tree | 940f0c45412309f8a01a336e5be5a32cd5f20e91 /include/configs/M5235EVB.h | |
parent | 2c32f24f95bcf24578ea3b24f585ef9e8cde050e (diff) | |
download | u-boot-d4a2c400d16f1ba563b55fe4c72ebe6df7b32ff5.tar.gz u-boot-d4a2c400d16f1ba563b55fe4c72ebe6df7b32ff5.tar.bz2 u-boot-d4a2c400d16f1ba563b55fe4c72ebe6df7b32ff5.zip |
Convert CONFIG_NORFLASH_PS32BIT to Kconfig
This converts the following to Kconfig:
CONFIG_NORFLASH_PS32BIT
Note that we also attempt to correct the behavior of the code here,
which had been testing for "NORFLASH_PS32BIT" which would never be set,
instead check for the now set "CONFIG_NORFLASH_PS32BIT", which results
in some behavior change.
Cc: TsiChung Liew <Tsi-Chung.Liew@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/M5235EVB.h')
-rw-r--r-- | include/configs/M5235EVB.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h index e2f336750d..625fa01355 100644 --- a/include/configs/M5235EVB.h +++ b/include/configs/M5235EVB.h @@ -105,7 +105,7 @@ */ #ifdef CONFIG_SYS_FLASH_CFI # define CONFIG_SYS_FLASH_SIZE 0x800000 /* Max size that the board might have */ -#ifdef NORFLASH_PS32BIT +#ifdef CONFIG_NORFLASH_PS32BIT # define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_32BIT #else # define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT @@ -152,7 +152,7 @@ * CS6 - Available * CS7 - Available */ -#ifdef NORFLASH_PS32BIT +#ifdef CONFIG_NORFLASH_PS32BIT # define CONFIG_SYS_CS0_BASE 0xFFC00000 # define CONFIG_SYS_CS0_MASK 0x003f0001 # define CONFIG_SYS_CS0_CTRL 0x00001D00 |