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)
commit3ff43568d63891c8eca64b2f95ffdfd310364faa
treed1938b7d1dfdc5909e8244138f87a4729ace46cd
parentae5043b59f71ca434ccf00dbe77b75a5e29ee569
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