mtd: spi-nor: Properly set SECT_4K for recently added flashes
authorRafał Miłecki <zajec5@gmail.com>
Sat, 25 Apr 2015 10:41:30 +0000 (12:41 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 20 May 2015 23:17:16 +0000 (16:17 -0700)
commitc19900edff983cfa2ddb92830d59f8e9550fde4f
tree54af55f8fb95d57732e17eb15f969df92d05a845
parent413780d7d7040ce0c45dbe40afa69917a946856d
mtd: spi-nor: Properly set SECT_4K for recently added flashes

Few recently added entries are missing SECT_4K flag despite of these
flashes supporting 4 KiB erase sectors and 0x20 erase command.
Also add a comment to help avoiding such mistakes in the future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: Knut Wohlrab <knut.wohlrab@de.bosch.com>
Cc: Huang Shijie <shijie.huang@intel.com>
Cc: Shengzhou Liu <shengzhou.liu@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c