summaryrefslogtreecommitdiff
path: root/include/configs/sama5d27_som1_ek.h
diff options
context:
space:
mode:
authorGreg Gallagher <greg@embeddedgreg.com>2021-01-21 19:55:35 +0300
committerEugen Hristev <eugen.hristev@microchip.com>2021-01-22 16:09:59 +0300
commitc69ba7b4a0878eaf9b6c1c2d9727888b93272141 (patch)
treedf04690ce38877676973aa8bad319e75dea4f25b /include/configs/sama5d27_som1_ek.h
parent911980059159392231d220aa13b0a05ad5b80869 (diff)
downloadu-boot-c69ba7b4a0878eaf9b6c1c2d9727888b93272141.tar.xz
configs: sama5d27_som1_ek: Set FDT filename based on defconfig
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>
Diffstat (limited to 'include/configs/sama5d27_som1_ek.h')
-rw-r--r--include/configs/sama5d27_som1_ek.h7
1 files 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