mtd: mtk-nor: set controller's address width according to nor flash
authorGuochun Mao <guochun.mao@mediatek.com>
Wed, 5 Apr 2017 08:37:42 +0000 (16:37 +0800)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Mon, 1 May 2017 14:45:40 +0000 (16:45 +0200)
commit8abe904dc82772bf1635fcc5765433c672f0a875
tree12505922dc0a2863ea5208220f654e1dae47026b
parent0d43d7ab277a048c4b1455ee00030933e1bd5fa3
mtd: mtk-nor: set controller's address width according to nor flash

When nor's size larger than 16MByte, nor's address width maybe
set to 3 or 4, and controller should change address width according
to nor's setting.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
drivers/mtd/spi-nor/mtk-quadspi.c