[U-Boot] [PATCH 8/8] MX35: add support for flea3 board

Fabio Estevam festevam at gmail.com
Fri Sep 16 13:48:01 CEST 2011


Hi Stefano,

On Fri, Sep 16, 2011 at 6:46 AM, Stefano Babic <sbabic at 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?

Regards,

Fabio Estevam


More information about the U-Boot mailing list