]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: fsmc_nand.c: Use default timings if none are provided in the dts
authorStefan Roese <sr@denx.de>
Thu, 19 Mar 2015 13:34:29 +0000 (14:34 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 31 Mar 2015 00:49:07 +0000 (17:49 -0700)
commitda64b033c8bbc1bf9edbe9c9d35179fdb543163e
tree219bcf9ef500223358b8768a261e324455736e13
parenta3c9b05b75558662fe8254114de5cc978f7b6190
mtd: fsmc_nand.c: Use default timings if none are provided in the dts

Without this patch the timings are all set to 0 if not specified in the dts.
With this patch the driver falls back to use the defaults that are already
present in the driver and are known to work okay for some (older) boards.

Tested on a custom SPEAr600 based board.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsmc_nand.c