Re: [PATCH 1/2] ARM: nxp-imx8mq-evk: remove SDRAM reservation for ATF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag, den 06.11.2018, 12:57 -0800 schrieb Andrey Smirnov:
> On Tue, Nov 6, 2018 at 9:43 AM Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> wrote:
> > 
> > Recent versions of the i.MX8MQ ATF (like the one shipped with
> > Barebox)
> > reside in a part of OCRAM, so there is no need to reserve any part
> > of
> > SDRAM anymore.
> > 
> 
> Not sure if this will be handled by Barebox, but there's also:
> 
> /memreserve/ 0x40000000 0x00020000;
> 
> in arch/arm/dts/imx8mq.dtsi, do we want to drop that as well?

It doesn't hurt, as Barebox isn't looking at the reserved ranges right
now, but yes it should go eventually.

Regards,
Lucas

> Other than that, definitely a good change:
> 
> Acked-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> 
> > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> > ---
> >  arch/arm/boards/nxp-imx8mq-evk/board.c | 11 -----------
> >  1 file changed, 11 deletions(-)
> > 
> > diff --git a/arch/arm/boards/nxp-imx8mq-evk/board.c
> > b/arch/arm/boards/nxp-imx8mq-evk/board.c
> > index 764eadb766a9..7918b5fb3e36 100644
> > --- a/arch/arm/boards/nxp-imx8mq-evk/board.c
> > +++ b/arch/arm/boards/nxp-imx8mq-evk/board.c
> > @@ -45,17 +45,6 @@ static int ar8031_phy_fixup(struct phy_device
> > *phydev)
> >         return 0;
> >  }
> > 
> > -static int imx8mq_evk_mem_init(void)
> > -{
> > -       if (!of_machine_is_compatible("fsl,imx8mq-evk"))
> > -               return 0;
> > -
> > -       request_sdram_region("ATF", 0x40000000, SZ_128K);
> > -
> > -       return 0;
> > -}
> > -mem_initcall(imx8mq_evk_mem_init);
> > -
> >  static int nxp_imx8mq_evk_init(void)
> >  {
> >         if (!of_machine_is_compatible("fsl,imx8mq-evk"))
> > --
> > 2.19.1
> > 
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox@xxxxxxxxxxxxxxxxxxx
> > http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux