> while 64bit isnt in today, might as well avoid unclean code from the > start when possible. in other words, used "unsigned int" rather > than "u32" and cast to "unsigned long" rather than "int".
You are right. Will do. >> + count /= 4; > count >>= 2 ? although gcc probably optimizes this properly. gcc-4.0 for arm already turns it into a shift. I'll use "sizeof(unsigned long)" in version 2. Thanks /alessandro _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot