microblaze: Detect NOR flash based on DT
authorMichal Simek <michal.simek@xilinx.com>
Wed, 4 Nov 2020 15:14:06 +0000 (16:14 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 20 Nov 2020 09:42:54 +0000 (10:42 +0100)
commit631a241e4884579774ff6bad60ff3cadf28f80e6
tree179c9a8cd199d63407effb6d90832262edafb6e7
parent09996b4d8466a31c300d5de37c3cf8ff33f151a7
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>
configs/microblaze-generic_defconfig
include/configs/microblaze-generic.h