[U-Boot] [PATCH 1/3] omap: fix compile error in emif-common.c

R, Sricharan r.sricharan at ti.com
Mon Jun 4 15:44:51 CEST 2012


Hi Steve,

[snip]
> ---
>  arch/arm/cpu/armv7/omap4/sdram_elpida.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/omap4/sdram_elpida.c
> b/arch/arm/cpu/armv7/omap4/sdram_elpida.c
> index b538960..0599aaa 100644
> --- a/arch/arm/cpu/armv7/omap4/sdram_elpida.c
> +++ b/arch/arm/cpu/armv7/omap4/sdram_elpida.c
> @@ -46,6 +46,9 @@
>   * - emif_get_device_timings()
>   */
>
> +/* Dummy registers for OMAP44xx */
> +const u32 ext_phy_ctrl_const_base[EMIF_EXT_PHY_CTRL_CONST_REG];
> +
>  #ifdef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
>
>  static const struct emif_regs emif_regs_elpida_200_mhz_2cs = {
> @@ -90,9 +93,6 @@ const struct emif_regs emif_regs_elpida_400_mhz_2cs = {
>  	.emif_ddr_phy_ctlr_1		= 0x049ff418
>  };
>
> -/* Dummy registers for OMAP44xx */
> -const u32 ext_phy_ctrl_const_base[EMIF_EXT_PHY_CTRL_CONST_REG];
> -
>  const struct dmm_lisa_map_regs lisa_map_2G_x_1_x_2 = {
>  	.dmm_lisa_map_0 = 0xFF020100,
>  	.dmm_lisa_map_1 = 0,
 In fact ext phy registers are not required for OMAP4 at all.
 Just posted a patch to fix this.
      http://marc.info/?l=u-boot&m=133881742422888&w=2

Thanks,
 Sricharan


More information about the U-Boot mailing list