All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick DELAUNAY <patrick.delaunay@st.com>
To: u-boot@lists.denx.de
Subject: [PATCH] configs: add support for stm32mp157c-dk2 board
Date: Wed, 22 Apr 2020 15:31:39 +0000	[thread overview]
Message-ID: <679ca6afd9394425882cc3c61f62ec7b@SFHDAG6NODE3.st.com> (raw)
In-Reply-To: <20200422131900.113227-1-arnaud.ferraris@collabora.com>

Hi

> From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
> Sent: mercredi 22 avril 2020 15:19
> 
> This config is based on stm32mp15_basic_defconfig and adds the necessary
> options to be able to boot a STM32MP157C-DK2 dev board.
> 
> Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
> ---
>  configs/stm32mp157c-dk2_defconfig | 131
> ++++++++++++++++++++++++++++++
>  1 file changed, 131 insertions(+)
>  create mode 100644 configs/stm32mp157c-dk2_defconfig
>

For information, stm32mp157c-dk2 board is already supported by stm32mp15_basic_defconfig
without the need of a specific defconfig (I am using it every day).

You just need to specify the used devictree with the generic Makefile parameter
DEVICE_TREE=stm32mp157c-dk2

For support details: ./doc/board/st/stm32mp1.rst
Or https://wiki.st.com/stm32mpu/wiki/STM32MP15_U-Boot

example

      # make stm32mp15_basic_defconfig
      # make DEVICE_TREE=stm32mp157c-dk2 all

Or

      # export KBUILD_OUTPUT=../build/stm32mp15_basic
      # export DEVICE_TREE= stm32mp157c-dk2
      # make stm32mp15_basic_defconfig
      # make all

CONFIG_DEFAULT_DEVICE_TREE only provide the default device tree used
when DEVICE_TREE is absent.

What it is the need to this new defconfig ?
U-Boot size optimization for DK2 only ?

PS: If something is missing in stm32mp15_basic_defconfig/stm32mp15_trusted_defconfig
       it should be added in this generic target common for all ST supported boards.

Regards

Patrick

      reply	other threads:[~2020-04-22 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 13:19 [PATCH] configs: add support for stm32mp157c-dk2 board Arnaud Ferraris
2020-04-22 15:31 ` Patrick DELAUNAY [this message]

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=679ca6afd9394425882cc3c61f62ec7b@SFHDAG6NODE3.st.com \
    --to=patrick.delaunay@st.com \
    --cc=u-boot@lists.denx.de \
    /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.