oxnas: clean-up NAND driver to fix probing issue
authorJohn Crispin <john@openwrt.org>
Thu, 10 Mar 2016 19:11:28 +0000 (19:11 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 10 Mar 2016 19:11:28 +0000 (19:11 +0000)
commit61f27ca3e4e1509ccb5abb01e9892ab90b8bc0cf
tree2e4d171196250d213ef371ba3c72def3e2c0ef71
parentf78f271c1e2845ce60ac8236505e6baff2b31620
oxnas: clean-up NAND driver to fix probing issue

A re-write of the driver based on xway_nand.c and constants as
well as the cmd_ctrl() function from the original oxnas_nand.c
resulted in a extremely similar looking file (see diffsize),
and fixes the issue of NAND not being detected on newer kernels.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 48986
target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c