aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-11-04 16:14:06 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-11-20 10:42:54 +0100
commit631a241e4884579774ff6bad60ff3cadf28f80e6 (patch)
tree179c9a8cd199d63407effb6d90832262edafb6e7 /configs
parent09996b4d8466a31c300d5de37c3cf8ff33f151a7 (diff)
downloadu-boot-631a241e4884579774ff6bad60ff3cadf28f80e6.zip
u-boot-631a241e4884579774ff6bad60ff3cadf28f80e6.tar.gz
u-boot-631a241e4884579774ff6bad60ff3cadf28f80e6.tar.bz2
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')
-rw-r--r--configs/microblaze-generic_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 08c8885..761cc65 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