[U-Boot] [PATCH 2/9] mx23: regs-pinctrl.h: Add pinctrl support for mx23
Marek Vasut
marex at denx.de
Thu May 2 03:44:32 CEST 2013
Dear Fabio Estevam,
> On Wed, May 1, 2013 at 9:13 PM, Marek Vasut <marex at denx.de> wrote:
> > How come? Doesn't the board/...mx23.../spl_boot.c use that? Or iomux.c in
> > FSL's parlance.
>
> I meant mxs_pinctrl_regs structure is only referenced for mx28 currently:
>
> #ifdef CONFIG_MX28
> static void mx28_mem_init(void)
> {
> struct mxs_pinctrl_regs *pinctrl_regs =
> (struct mxs_pinctrl_regs *)MXS_PINCTRL_BASE;
>
> /* Set DDR2 mode */
> writel(PINCTRL_EMI_DS_CTRL_DDR_MODE_DDR2,
> &pinctrl_regs->hw_pinctrl_emi_ds_ctrl_set);
Ah! Good point, sorry for the prodding then.
Best regards,
Marek Vasut
More information about the U-Boot
mailing list