From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 8/8] MX35: add support for flea3 board
Date: Fri, 16 Sep 2011 13:56:13 +0200 [thread overview]
Message-ID: <4E73395D.7050105@denx.de> (raw)
In-Reply-To: <CAOMZO5CtEq1yzy8Zo=WS_TamE66unN_QhARnm201NpsDWpTahA@mail.gmail.com>
On 09/16/2011 01:48 PM, Fabio Estevam wrote:
> Hi Stefano,
>
Hi Fabio,
> On Fri, Sep 16, 2011 at 6:46 AM, Stefano Babic <sbabic@denx.de> wrote:
> ..
>> +void board_setup_sdram(void)
>> +{
>> + u32 val;
>> + struct esdc_regs *esdc = (struct esdc_regs *)ESDCTL_BASE_ADDR;
>> +
>> + /* Initialize with default values both CSD0/1 */
>> + writel(0x2000, &esdc->esdctl0);
>> + writel(0x2000, &esdc->esdctl1);
>
> On other boards we setup the SDRAM in lowlevel_init.S and here you do
> it on the board file.
>
> Shouldn?t this be setup in lowlevel_init.S for consistency?
Really the idea is to get rid (as much as possible) of lowlevel_init.S
and make the whole setup in C code.
This board can be then the first one (MX3) doing that, that makes the
code much more readable - and I see in recent patches that this is
pushed for other architectures, too (I mean Heiko's patches for davinci
AM1808). And this is done since a lot of time for some PowerPC boards.
The question arises if the other boards (at least the mx35pdk..) should
be updated in the same way...
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2011-09-16 11:56 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-16 9:46 [U-Boot] [PATCH 1/8] MX35: added ESDC structure to imx-regs Stefano Babic
2011-09-16 9:46 ` [U-Boot] [PATCH 2/8] MX35: add pins definition for UART3 Stefano Babic
2011-09-16 9:46 ` [U-Boot] [PATCH 3/8] MX35: add reset cause as provided by other i.MX Stefano Babic
2011-09-16 9:46 ` [U-Boot] [PATCH 4/8] MX35: factorize common assembly code Stefano Babic
2011-09-16 9:46 ` [U-Boot] [PATCH 5/8] ARM: moved general function to arm/lib Stefano Babic
2011-09-28 18:22 ` Stefano Babic
2011-10-06 21:30 ` Wolfgang Denk
2011-10-06 22:11 ` stefano babic
2011-10-06 22:25 ` Wolfgang Denk
2011-09-16 9:46 ` [U-Boot] [PATCH 6/8] I2C: added I2C-2 and I2C-3 to MX35 Stefano Babic
2011-09-19 6:14 ` Heiko Schocher
2011-09-16 9:46 ` [U-Boot] [PATCH 7/8] MX35: Drop unnecessary prototypes from imx-regs.h Stefano Babic
2011-09-16 9:46 ` [U-Boot] [PATCH 8/8] MX35: add support for flea3 board Stefano Babic
2011-09-16 11:48 ` Fabio Estevam
2011-09-16 11:56 ` Stefano Babic [this message]
2011-09-16 11:49 ` Fabio Estevam
2011-09-16 11:50 ` Stefano Babic
2011-09-20 11:53 ` [U-Boot] [PATCH V2 " Stefano Babic
2011-10-06 21:29 ` [U-Boot] [PATCH " Wolfgang Denk
2011-09-20 14:12 ` [U-Boot] [PATCH V3 " Stefano Babic
2011-10-06 21:28 ` Wolfgang Denk
2011-10-06 22:03 ` stefano babic
2011-10-06 22:38 ` [U-Boot] [PATCH V4 " Stefano Babic
[not found] ` <CAOMZO5DqqOiUfeCTKFQTy33_fTsUHAMhSQ59bU0PnuU1AZ8Ckg@mail.gmail.com>
2011-10-08 12:24 ` Stefano Babic
2011-10-08 12:33 ` [U-Boot] [PATCH V5 " Stefano Babic
2011-10-15 8:06 ` [U-Boot] [PATCH V2 5/8] ARM: moved general function to arm/lib Stefano Babic
2011-10-15 10:15 ` Albert ARIBAUD
2011-10-15 11:12 ` Stefano Babic
2011-10-24 9:58 ` [U-Boot] [PATCH V6] MX35: add support for flea3 board Stefano Babic
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=4E73395D.7050105@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/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