summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>2018-08-21 15:46:07 +0300
committerTom Rini <trini@konsulko.com>2018-09-25 21:49:18 -0400
commit4495680735a471cdee18ee45afd13ea9107bca44 (patch)
tree38076b955727d2432a7f06207641f97a8da488bb /include
parent3549466e55bb3aa408fd245ebf6f67de9a7f7c63 (diff)
configs: sama5d27_som1_ek: Add defconfig for ENV/boot from uSD
This adds a defconfig for sama5d27_som1_ek board to get environment from uSD. The defconfig is made from sama5d27_som1_ek_mmc_defconfig, with 'bootcmd' and 'bootargs' changed to kernel, device-tree and rootfs from uSD. The environment is expected to be found in uSD's FAT partition. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sama5d27_som1_ek.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h
index 6382a015d0..7c7479b4d4 100644
--- a/include/configs/sama5d27_som1_ek.h
+++ b/include/configs/sama5d27_som1_ek.h
@@ -38,8 +38,8 @@
/* u-boot env in sd/mmc card */
#define CONFIG_ENV_SIZE 0x4000
/* bootstrap + u-boot + env in sd card */
-#define CONFIG_BOOTCOMMAND "fatload mmc 0:1 0x21000000 at91-sama5d27_som1_ek.dtb; " \
- "fatload mmc 0:1 0x22000000 zImage; " \
+#define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 at91-sama5d27_som1_ek.dtb; " \
+ "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x22000000 zImage; " \
"bootz 0x22000000 - 0x21000000"
#endif