From: Sascha Hauer <s.hauer@pengutronix.de>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] i.MX6: esdctl: Fix a bug in memory probing code
Date: Mon, 17 Nov 2014 08:48:05 +0100 [thread overview]
Message-ID: <20141117074805.GB30369@pengutronix.de> (raw)
In-Reply-To: <1415921097-26063-1-git-send-email-andrew.smirnov@gmail.com>
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2014-11-17 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 23:24 Andrey Smirnov
2014-11-17 7:48 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141117074805.GB30369@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=andrew.smirnov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox