The min and max macros break if x is 32-bit and y is 64-bit. y will always get truncated to 32-bit and it will fail.
-Aaron _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot