Need help to fix/rework U-Boot v1 NAND code

As mentioned on this list, I sent second version of U-Boot v1 patches to U-Boot list [1].

Now, we got a review of NAND driver:

A lot questions and it seems that we have to rewrite some parts.

We are talking about

Unfortunately, I don't know a lot about NAND, so it seems we *really* need some help with this. Who can help?

Please note that the patches are against u-boot-arm next git:;a=shortlog;h=refs/heads/next

Something like

git clone git:// u-boot-arm
git checkout master/next

should give you the code.

Many thanks