All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Matyukevich <geomatsi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 3/5] atf: add support for Marvell Armada SoCs
Date: Mon, 13 Nov 2017 23:10:14 +0300	[thread overview]
Message-ID: <20171113201014.boksxitl6fssuzzh@speedy.hunter> (raw)
In-Reply-To: <20171113082339.wzqq5ijnhlksuklq@sapphire.tkos.co.il>

> > Add support for Marvell Armada SoCs to arm-trusted-firmware package.
> > 
> > Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
> > ---
> >  boot/arm-trusted-firmware/arm-trusted-firmware.mk | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> > 
> > diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/boot/arm-trusted-firmware/arm-trusted-firmware.mk
> > index 7b1cc6ebb6..d6bde29894 100644
> > --- a/boot/arm-trusted-firmware/arm-trusted-firmware.mk
> > +++ b/boot/arm-trusted-firmware/arm-trusted-firmware.mk
> > @@ -39,6 +39,19 @@ ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin
> >  ARM_TRUSTED_FIRMWARE_DEPENDENCIES += vexpress-firmware
> >  endif
> >  
> > +ifeq ($(BR2_TARGET_ARMADA_FIRMWARE),y)
> > +ARMADA_FIRMWARE_IMAGE = $(call qstrip,$(BR2_TARGET_ARMADA_FIRMWARE_IMAGE))
> > +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \
> > +	SCP_BL2=$(BINARIES_DIR)/$(ARMADA_FIRMWARE_IMAGE)
> > +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += armada-firmware
> > +endif
> > +
> > +ifeq ($(BR2_TARGET_ARMADA_DDR),y)
> > +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \
> > +	MV_DDR_PATH=$(DL_DIR)/mv-ddr-marvell
> > +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += armada-ddr
> > +endif
> 
> These are not really optional dependencies of ATF in general. It's only the 
> Marvell specific ATF version that needs them, and they are not optional.
> 
> I don't have any better suggestion at the moment.

Neither do I. Another obvious option is to create a separate ATF package
for Marvell. But it doesn't look like a good idea. I opted the same
approach as for Versatile firmware, at least for the time being.

Regards,
Sergey

  reply	other threads:[~2017-11-13 20:10 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-12 20:16 [Buildroot] [PATCH/next 0/5] Add support for MacchiatoBin board Sergey Matyukevich
2017-11-12 20:16 ` [Buildroot] [PATCH/next 1/5] armada-firmware: new package Sergey Matyukevich
2017-11-13  7:30   ` Baruch Siach
2017-11-13 19:47     ` Sergey Matyukevich
2017-11-14 22:07   ` Arnout Vandecappelle
2017-11-15 21:15     ` Sergey Matyukevich
2017-11-15 21:55       ` Arnout Vandecappelle
2017-11-12 20:16 ` [Buildroot] [PATCH/next 2/5] armada-ddr: " Sergey Matyukevich
2017-11-13  8:00   ` Baruch Siach
2017-11-13 20:12     ` Sergey Matyukevich
2017-11-12 20:16 ` [Buildroot] [PATCH/next 3/5] atf: add support for Marvell Armada SoCs Sergey Matyukevich
2017-11-13  8:23   ` Baruch Siach
2017-11-13 20:10     ` Sergey Matyukevich [this message]
2017-11-12 20:16 ` [Buildroot] [PATCH/next 4/5] solidrun/macchiatobin: add new board Sergey Matyukevich
2017-11-13 12:27   ` Baruch Siach
2017-11-13 12:51     ` Jan Kundrát
2017-11-13 13:13       ` Baruch Siach
2017-11-13 20:06     ` Sergey Matyukevich
2017-11-13 22:36       ` Thomas Petazzoni
2017-11-14  7:41         ` Antoine Ténart
2017-11-14  9:20           ` Sergey Matyukevich
2017-11-14  9:42             ` Antoine Ténart
2017-11-14 20:27               ` Sergey Matyukevich
2017-11-14 20:53                 ` Antoine Ténart
2017-11-15 21:20                   ` Sergey Matyukevich
2017-11-13 14:52   ` Baruch Siach
2017-11-13 19:51     ` Sergey Matyukevich
2017-11-14 19:11       ` Sergey Matyukevich
2017-11-12 20:16 ` [Buildroot] [PATCH/next 5/5] Add myself to MacchiatoBin releated packages Sergey Matyukevich
2017-11-14 21:58 ` [Buildroot] [PATCH/next 0/5] Add support for MacchiatoBin board Arnout Vandecappelle
2017-11-15 15:59   ` Baruch Siach

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=20171113201014.boksxitl6fssuzzh@speedy.hunter \
    --to=geomatsi@gmail.com \
    --cc=buildroot@busybox.net \
    /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.