oxnas: clean-up NAND driver to fix probing issue
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 Mar 2016 19:11:28 +0000 (19:11 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 Mar 2016 19:11:28 +0000 (19:11 +0000)
commitf96bd26621e9999bb1e372e539b425a2d14bdfb5
treed1938b7d1dfdc5909e8244138f87a4729ace46cd
parent2fa03698a25ccc1716511d390a3ab5f5ee34f197
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48986 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c