From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.free-electrons.com ([94.23.35.102]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UK5Xn-0006Dg-9h for barebox@lists.infradead.org; Mon, 25 Mar 2013 11:26:27 +0000 Message-ID: <51503461.8080306@free-electrons.com> Date: Mon, 25 Mar 2013 12:26:25 +0100 From: Maxime Ripard MIME-Version: 1.0 References: <1363880198-21029-1-git-send-email-alexandre.belloni@free-electrons.com> In-Reply-To: <1363880198-21029-1-git-send-email-alexandre.belloni@free-electrons.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] cfa10036: Retrieve the RAM size at runtime To: Alexandre Belloni Cc: barebox@lists.infradead.org Hi Alexandre, Le 21/03/2013 16:36, Alexandre Belloni a =E9crit : > The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM > on it. > = > Since it's not stored anywhere, we need to runtime detect it by > introducing the cfa10036_get_ram_size function which is similar to > get_ram_size. As we run from RAM, we can then use _text and __bss_stop > to prevent poking in the barebox memory which is not supported on other > platforms. Just tested it on my 256MB cfa-10036, and it works fine, you can add my Tested-by Maxime -- = Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox