Hi Andrey, On Thu, Nov 13, 2014 at 03:24:57PM -0800, Andrey Smirnov wrote: > Old version of imx6_mmdc_add_mem did not use 64-bit arithmetic and > thus was prone to overflow on systems with 4GB of memory. It also did > not take into account the fact that i.MX6 does not support more than > 3.8GB of memory and would report incorrect memory size. This commit > fixes both issues. I never had such a luxury board ;) Applied with some adjustments, I used the already existing min() macro instead of defineing a new one Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox