U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Gallagher <greg@embeddedgreg.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/3] configs: sama5d27_som1_ek: Set FDT filename based on defconfig
Date: Thu, 21 Jan 2021 11:55:35 -0500	[thread overview]
Message-ID: <20210121165537.1752664-2-greg@embeddedgreg.com> (raw)
In-Reply-To: <20210121165537.1752664-1-greg@embeddedgreg.com>

Make the FDT file name based on the default on that is specified in the
defconfig file.

Signed-off-by: Greg Gallagher <greg@embeddedgreg.com>
---

 include/configs/sama5d27_som1_ek.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h
index 3358149e66..8942d15934 100644
--- a/include/configs/sama5d27_som1_ek.h
+++ b/include/configs/sama5d27_som1_ek.h
@@ -27,14 +27,11 @@
 
 #define CONFIG_SYS_LOAD_ADDR		0x22000000 /* load address */
 
-/* NAND flash */
-
-/* SPI flash */
-
 #undef CONFIG_BOOTCOMMAND
 #ifdef CONFIG_SD_BOOT
 /* bootstrap + u-boot + env in sd card */
-#define CONFIG_BOOTCOMMAND	"fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 at91-sama5d27_som1_ek.dtb; " \
+#define CONFIG_BOOTCOMMAND	"fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 " \
+				CONFIG_DEFAULT_DEVICE_TREE ".dtb; " \
 				"fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x22000000 zImage; " \
 				"bootz 0x22000000 - 0x21000000"
 #endif
-- 
2.25.1

  reply	other threads:[~2021-01-21 16:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 16:55 [PATCH 1/3] board: Atmel: Add SAMA5D27 giant board Greg Gallagher
2021-01-21 16:55 ` Greg Gallagher [this message]
2021-01-21 16:55 ` [PATCH 3/3] ARM: at91: spl: add spl_early_init for sama52d platforms Greg Gallagher
2021-01-25 18:32 ` [PATCH 1/3] board: Atmel: Add SAMA5D27 giant board Eugen.Hristev at microchip.com

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=20210121165537.1752664-2-greg@embeddedgreg.com \
    --to=greg@embeddedgreg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox