[U-Boot] [PATCH] OMAP3: fix DRAM size for IGEP-based boards.

Tom Rini trini at ti.com
Tue Aug 7 19:09:04 CEST 2012


On Sun, Aug 05, 2012 at 07:27:30PM +0200, Javier Martinez Canillas wrote:
> On Sun, Aug 5, 2012 at 12:55 PM, Enric Balletbo i Serra
> <eballetbo at gmail.com> wrote:
> > The total RAM size of the IGEP-based boards is 512MiB not 1GiB, the
> > LPDDR memory consist on two dies of 256MiB.
> >
> > Signed-off-by: Enric Balletbo i Serra <eballetbo at gmail.com>
> > ---
> >  board/isee/igep0020/igep0020.c |    6 +++---
> >  board/isee/igep0030/igep0030.c |    6 +++---
> >  2 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/board/isee/igep0020/igep0020.c b/board/isee/igep0020/igep0020.c
> > index a4d099a..a8257a3 100644
> > --- a/board/isee/igep0020/igep0020.c
> > +++ b/board/isee/igep0020/igep0020.c
> > @@ -77,19 +77,19 @@ void get_board_mem_timings(u32 *mcfg, u32 *ctrla, u32 *ctrlb, u32 *rfr_ctrl,
> >  {
> >         *mr = MICRON_V_MR_165;
> >  #ifdef CONFIG_BOOT_NAND
> > -       *mcfg = MICRON_V_MCFG_200(512 << 20);
> > +       *mcfg = MICRON_V_MCFG_200(256 << 20);
> >         *ctrla = MICRON_V_ACTIMA_200;
> >         *ctrlb = MICRON_V_ACTIMB_200;
> >         *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_200MHz;
> >  #else
> >         if (get_cpu_family() == CPU_OMAP34XX) {
> > -               *mcfg = NUMONYX_V_MCFG_165(512 << 20);
> > +               *mcfg = NUMONYX_V_MCFG_165(256 << 20);
> >                 *ctrla = NUMONYX_V_ACTIMA_165;
> >                 *ctrlb = NUMONYX_V_ACTIMB_165;
> >                 *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
> >
> >         } else {
> > -               *mcfg = NUMONYX_V_MCFG_200(512 << 20);
> > +               *mcfg = NUMONYX_V_MCFG_200(256 << 20);
> >                 *ctrla = NUMONYX_V_ACTIMA_200;
> >                 *ctrlb = NUMONYX_V_ACTIMB_200;
> >                 *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_200MHz;
> > diff --git a/board/isee/igep0030/igep0030.c b/board/isee/igep0030/igep0030.c
> > index 4f8b645..107cb7f 100644
> > --- a/board/isee/igep0030/igep0030.c
> > +++ b/board/isee/igep0030/igep0030.c
> > @@ -64,19 +64,19 @@ void get_board_mem_timings(u32 *mcfg, u32 *ctrla, u32 *ctrlb, u32 *rfr_ctrl,
> >  {
> >         *mr = MICRON_V_MR_165;
> >  #ifdef CONFIG_BOOT_NAND
> > -       *mcfg = MICRON_V_MCFG_200(512 << 20);
> > +       *mcfg = MICRON_V_MCFG_200(256 << 20);
> >         *ctrla = MICRON_V_ACTIMA_200;
> >         *ctrlb = MICRON_V_ACTIMB_200;
> >         *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_200MHz;
> >  #else
> >         if (get_cpu_family() == CPU_OMAP34XX) {
> > -               *mcfg = NUMONYX_V_MCFG_165(512 << 20);
> > +               *mcfg = NUMONYX_V_MCFG_165(256 << 20);
> >                 *ctrla = NUMONYX_V_ACTIMA_165;
> >                 *ctrlb = NUMONYX_V_ACTIMB_165;
> >                 *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
> >
> >         } else {
> > -               *mcfg = NUMONYX_V_MCFG_200(512 << 20);
> > +               *mcfg = NUMONYX_V_MCFG_200(256 << 20);
> >                 *ctrla = NUMONYX_V_ACTIMA_200;
> >                 *ctrlb = NUMONYX_V_ACTIMB_200;
> >                 *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_200MHz;
> > --
> > 1.7.9.5
> >
> 
> Hi Enric,
> 
> I missed that on the original patch, thanks for fixing it.
> 
> Tested-by: Javier Martinez Canillas <javier at dowhile0.org>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120807/df36a119/attachment.pgp>


More information about the U-Boot mailing list