summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-02-09 17:06:44 -0500
committerTom Rini <[email protected]>2021-02-09 17:06:44 -0500
commit8398d95ec238b9267b46d007d9a248c917b6fd3d (patch)
tree2dce2a32f17efd418b57d2c60be5d7e8463dd989 /include
parente14d5762de1db84cae6d84d59c1e40f3eb26c4c3 (diff)
parentf050e3fe4552dc8e24b1f01d26b835eeb762c467 (diff)
Merge tag 'u-boot-stm32-20210209' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm
- Enable the fastboot oem commands in stm32mp15 defconfig - Fixes pinctrol for stmfx and stm32 - Add support of I2C6_K in stm32mp15 clock driver - Alignment with Linux kernel device tree v5.11-rc2 for ST boards
Diffstat (limited to 'include')
-rw-r--r--include/configs/stm32mp1.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 863b652ca4f..c5539285af1 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -132,6 +132,19 @@
"run distro_bootcmd;" \
"fi;\0"
+#ifdef CONFIG_FASTBOOT_CMD_OEM_FORMAT
+/* eMMC default partitions for fastboot command: oem format */
+#define PARTS_DEFAULT \
+ "partitions=" \
+ "name=ssbl,size=2M;" \
+ "name=bootfs,size=64MB,bootable;" \
+ "name=vendorfs,size=16M;" \
+ "name=rootfs,size=746M;" \
+ "name=userfs,size=-\0"
+#else
+#define PARTS_DEFAULT
+#endif
+
#include <config_distro_bootcmd.h>
/*
@@ -150,6 +163,7 @@
"altbootcmd=run bootcmd\0" \
"env_check=if env info -p -d -q; then env save; fi\0" \
STM32MP_BOOTCMD \
+ PARTS_DEFAULT \
BOOTENV \
"boot_net_usb_start=true\0"