From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Eric_B=E9nard?= Date: Thu, 16 Jul 2009 20:22:45 +0200 Subject: [U-Boot] [PATCH 1/1] Add support for Eukrea CPU9260 SBC In-Reply-To: <20090716164143.GA9954@mail.gnudd.com> References: <4A5F4F09.2090406@eukrea.com> <1247735589-15527-1-git-send-email-eric@eukrea.com> <20090716122936.08360832E416@gemini.denx.de> <4A5F20DB.2000009@eukrea.com> <20090716142229.C66BC832E416@gemini.denx.de> <20090716164143.GA9954@mail.gnudd.com> Message-ID: <4A5F6FF5.6050403@eukrea.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Alessandro, Alessandro Rubini a ?crit : > So, with the current code base, you can't autodetect ram size on the > atmel 926x. > > I have the same problem, as I have boards that ship as either 64M or > 128M. I'd configure for 128M and look for aliases, reconfiguring for > 64M if needed. This can be done in lowlevel_init.S or by setting up a > temporary C environment with sp in static RAM and doing it in C. > > In both cases, this doesn't fit the current code base and some > refactoring would be needed to go mainline. > OK, in our case auto detection is not required so my updated patch gives the choice between both configurations through the Makefile. Eric