All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Opaniuk <igor.opaniuk@foundries.io>
To: Fabio Estevam <festevam@gmail.com>
Cc: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>,
	U-Boot-Denx <u-boot@lists.denx.de>,
	 Ricardo Salveti <ricardo@foundries.io>,
	Jorge Ramirez-Ortiz <jorge@foundries.io>,
	 Franck LENORMAND <franck.lenormand@nxp.com>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	 Peng Fan <peng.fan@nxp.com>, Simon Glass <sjg@chromium.org>,
	Stefano Babic <sbabic@denx.de>
Subject: Re: [PATCH v2 3/3] mx7ulp_com: add support for SPL
Date: Wed, 15 Sep 2021 19:04:13 +0300	[thread overview]
Message-ID: <CAL6CDMFbqeviZUmrCSvmofmqdht4gMCi-ayd=QiE6S1XC0wX1Q@mail.gmail.com> (raw)
In-Reply-To: <CAOMZO5CPFSA96ppw2EeNRfVTOTyjx8P7znhB2h=RimtViwM1Pg@mail.gmail.com>

Hi Fabio,

On Mon, Sep 13, 2021 at 1:03 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Oleksandr,
>
> On Sun, Sep 12, 2021 at 11:33 AM Oleksandr Suvorov
> <oleksandr.suvorov@foundries.io> wrote:
> >
> > From: Ricardo Salveti <ricardo@foundries.io>
> >
> > Add EA iMX7ULP COM board support for building SPL.
> >
> > Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
> > Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
> > ---
> >
> > Changes in v2:
> > - add a patch with SPL support for mx7ulp_com board.
> >
> >  arch/arm/dts/imx7ulp-com-u-boot.dtsi | 37 ++++++++++++++++++++++++++++
> >  arch/arm/dts/imx7ulp-com.dts         |  1 +
> >  arch/arm/mach-imx/mx7ulp/Kconfig     | 12 +++++++++
> >  board/ea/mx7ulp_com/mx7ulp_com.c     | 26 +++++++++++++++++++
> >  include/configs/mx7ulp_com.h         |  6 +++++
> >  5 files changed, 82 insertions(+)
> >  create mode 100644 arch/arm/dts/imx7ulp-com-u-boot.dtsi
>
> I don't see DRAM initialization in the newly added SPL code.
>
> Am I missing something?

Maybe I misunderstood your question,
but it's already in board/ea/mx7ulp_com/mx7ulp_com.c, no?

int dram_init(void)
{
        gd->ram_size = imx_ddr_size();

#ifdef CONFIG_OPTEE_TZDRAM_SIZE
       gd->ram_size -= CONFIG_OPTEE_TZDRAM_SIZE;
#endif

        return 0;
}

which is in init_sequence_f (common/board_f.c), which is supposed to be
called in spl when CONFIG_SPL=y.

Or what exactly do you mean?

Regards,
Igor

-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk
Embedded Software Engineer
T:  +380 938364067
E: igor.opaniuk@foundries.io
W: www.foundries.io

  reply	other threads:[~2021-09-15 16:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-12 14:32 [PATCH v2 0/3] Support SPL for i.MX7ULP Oleksandr Suvorov
2021-09-12 14:32 ` [PATCH v2 1/3] mx7ulp: select soc features Oleksandr Suvorov
2021-09-12 14:32   ` [PATCH v2 2/3] mx7ulp: add base SPL support for mx7ulp Oleksandr Suvorov
2021-09-12 14:32     ` [PATCH v2 3/3] mx7ulp_com: add support for SPL Oleksandr Suvorov
2021-09-12 22:03       ` Fabio Estevam
2021-09-15 16:04         ` Igor Opaniuk [this message]
2021-09-15 18:21           ` Fabio Estevam
2021-09-16 18:50             ` Oleksandr Suvorov
2021-09-16 19:27               ` Fabio Estevam
2021-09-17 10:29                 ` Oleksandr Suvorov
2022-02-05 16:39       ` sbabic
2021-09-15 16:06   ` [PATCH v2 1/3] mx7ulp: select soc features Igor Opaniuk
2022-02-05 16:40   ` sbabic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL6CDMFbqeviZUmrCSvmofmqdht4gMCi-ayd=QiE6S1XC0wX1Q@mail.gmail.com' \
    --to=igor.opaniuk@foundries.io \
    --cc=festevam@gmail.com \
    --cc=franck.lenormand@nxp.com \
    --cc=jorge@foundries.io \
    --cc=oleksandr.suvorov@foundries.io \
    --cc=peng.fan@nxp.com \
    --cc=ricardo@foundries.io \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.