Skip to content
Snippets Groups Projects
Commit bbf6bbff authored by TsiChung Liew's avatar TsiChung Liew Committed by TsiChung Liew
Browse files

ColdFire: Update configuration file to use flash buffer write


Update M52277EVB, M53017EVB and M54455EVB platform configuration
file to use flash buffer write

Signed-off-by: default avatarTsiChung Liew <tsicliew@gmail.com>
parent 7d4450a9
No related branches found
No related tags found
No related merge requests found
...@@ -283,6 +283,8 @@ ...@@ -283,6 +283,8 @@
#define CONFIG_SYS_FLASH_CFI #define CONFIG_SYS_FLASH_CFI
#ifdef CONFIG_SYS_FLASH_CFI #ifdef CONFIG_SYS_FLASH_CFI
# define CONFIG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1
# define CONFIG_FLASH_SPANSION_S29WS_N 1
# define CONFIG_SYS_FLASH_SIZE 0x1000000 /* Max size that the board might have */ # define CONFIG_SYS_FLASH_SIZE 0x1000000 /* Max size that the board might have */
# define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
......
...@@ -204,6 +204,8 @@ ...@@ -204,6 +204,8 @@
#define CONFIG_SYS_FLASH_CFI #define CONFIG_SYS_FLASH_CFI
#ifdef CONFIG_SYS_FLASH_CFI #ifdef CONFIG_SYS_FLASH_CFI
# define CONFIG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1
# define CONFIG_FLASH_SPANSION_S29WS_N 1
# define CONFIG_SYS_FLASH_SIZE 0x800000 /* Max size that the board might have */ # define CONFIG_SYS_FLASH_SIZE 0x800000 /* Max size that the board might have */
# define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT # define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
# define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */ # define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
......
...@@ -370,6 +370,7 @@ ...@@ -370,6 +370,7 @@
#ifdef CONFIG_SYS_FLASH_CFI #ifdef CONFIG_SYS_FLASH_CFI
# define CONFIG_FLASH_CFI_DRIVER 1 # define CONFIG_FLASH_CFI_DRIVER 1
# define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1
# define CONFIG_SYS_FLASH_SIZE 0x1000000 /* Max size that the board might have */ # define CONFIG_SYS_FLASH_SIZE 0x1000000 /* Max size that the board might have */
# define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_8BIT # define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_8BIT
# define CONFIG_SYS_MAX_FLASH_BANKS 2 /* max number of memory banks */ # define CONFIG_SYS_MAX_FLASH_BANKS 2 /* max number of memory banks */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment