diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-11-04 16:14:06 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-11-20 10:42:54 +0100 |
commit | 631a241e4884579774ff6bad60ff3cadf28f80e6 (patch) | |
tree | 179c9a8cd199d63407effb6d90832262edafb6e7 /configs/microblaze-generic_defconfig | |
parent | 09996b4d8466a31c300d5de37c3cf8ff33f151a7 (diff) | |
download | u-boot-631a241e4884579774ff6bad60ff3cadf28f80e6.tar.gz |
microblaze: Detect NOR flash based on DT
Remove fixed configuration and detect flash based on DT.
Also increase amount of flash sectors to 2048 because on kc705 flash has
1027 sectors.
Bank # 1: CFI conformant flash (16 x 16) Size: 128 MB in 1027 Sectors
Intel Extended command set, Manufacturer ID: 0x89, Device ID: 0x8962
Erase timeout: 4096 ms, write timeout: 2 ms
Buffer write timeout: 5 ms, buffer size: 1024 bytes
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'configs/microblaze-generic_defconfig')
-rw-r--r-- | configs/microblaze-generic_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig index 08c88856dc..761cc65cbf 100644 --- a/configs/microblaze-generic_defconfig +++ b/configs/microblaze-generic_defconfig @@ -48,8 +48,10 @@ CONFIG_DM_I2C=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_MTD=y +CONFIG_DM_MTD=y CONFIG_MTD_NOR_FLASH=y CONFIG_FLASH_CFI_DRIVER=y +CONFIG_CFI_FLASH=y CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y CONFIG_FLASH_CFI_MTD=y CONFIG_SYS_FLASH_PROTECTION=y |