Re: [PATCH 1/4] initial support for LogicPD's OMAP3530LV SOM andOMAP35x Torpedo dev boards

From: Russell King - ARM Linux
Date: Thu Sep 02 2010 - 09:21:18 EST


On Tue, Aug 24, 2010 at 11:53:37PM -0400, Jacob Tanenbaum wrote:
> +/* Micron MT46H32M32LF-6 */
> +/* FIXME: borrowed from sdram-micron-mt46h32m32lf-6.h because on LogicPD
> + * boards we can't use the default values -- why? I suspect the reason
> + * lies in the boot strap code. We correct this part if we have ported
> + * U-Boot and X-Load. */
> +void init_sdram(struct omap_sdrc_params *sdrc_cs0){

static? { on the following line?

> + sdrc_cs0[0].actim_ctrla = 0xaa9db4c6;
> + sdrc_cs0[0].actim_ctrlb = 0x00011517;
> + sdrc_cs0[0].rfr_ctrl = 0x0004e201;
> + sdrc_cs0[1].rate = 165941176;
> + sdrc_cs0[1].actim_ctrla = 0xaa9db4c6;
> + sdrc_cs0[1].actim_ctrlb = 0x00011217;
> + sdrc_cs0[1].rfr_ctrl = 0x0004dc01;
> + sdrc_cs0[2].actim_ctrla = 0x8a99b481;
> + sdrc_cs0[2].actim_ctrlb = 0x00011312;
> + sdrc_cs0[2].rfr_ctrl = 0x0003de017;

36-bit hex numbers?

> + sdrc_cs0[3].actim_ctrla = 0x8a99b481;
> + sdrc_cs0[3].actim_ctrlb = 0x00011312;
> + sdrc_cs0[3].rfr_ctrl = 0x0003de01;
> +}
> +
> +static struct regulator_consumer_supply omap3logic_vmmc1_supply = {
> + .supply = "vmmc",

Any reason for the additional tabs?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/