Re: [PATCH] i.MX6: esdctl: Fix a bug in memory probing code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux