I'm not sure what the source of the patch is that is being used, but you are correct that it is wrong.
Numonyx is 512MB/bank, currently a single bank, but if configured properly the code will work with a future 2 bank 1GB part.
This patch is done properly in my x-load git repo:
http://www.sakoman.com/cgi-bin/gitweb.cgi?p=x-loader.git;a=commitdiff;h=ee120c894c3377054bda149748eb0621f2f843c8
I'm also not sure what "upstream" is being used for x-load, so can't say for certain that the patch in my tree will apply cleanly.
I'm not sure what the source of the patch is that is being used, but you are correct that it is wrong.
Numonyx is 512MB/bank, currently a single bank, but if configured properly the code will work with a future 2 bank 1GB part.
This patch is done properly in my x-load git repo:
http:// www.sakoman. com/cgi- bin/gitweb. cgi?p=x- loader. git;a=commitdif f;h=ee120c894c3 377054bda149748 eb0621f2f843c8
I'm also not sure what "upstream" is being used for x-load, so can't say for certain that the patch in my tree will apply cleanly.