Merge tag 'u-boot-stm32-20210209' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm
[platform/kernel/u-boot.git] / include / configs / stm32mp1.h
index de9f8cb..c553928 100644 (file)
 
 /* Ethernet need */
 #ifdef CONFIG_DWC_ETH_QOS
-#define CONFIG_SYS_NONCACHED_MEMORY    (1 * SZ_1M)     /* 1M */
 #define CONFIG_SERVERIP                 192.168.1.1
 #define CONFIG_BOOTP_SERVERIP
 #define CONFIG_SYS_AUTOLOAD            "no"
 #endif
 
-#ifdef CONFIG_DM_VIDEO
-#define CONFIG_VIDEO_BMP_RLE8
-#define CONFIG_BMP_16BPP
-#define CONFIG_BMP_24BPP
-#define CONFIG_BMP_32BPP
-#endif
-
 /*****************************************************************************/
 #ifdef CONFIG_DISTRO_DEFAULTS
 /*****************************************************************************/
                "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>
 
 /*
        "splashimage=0xc4300000\0"  \
        "ramdisk_addr_r=0xc4400000\0" \
        "altbootcmd=run bootcmd\0" \
-       "env_check=if env info -p -d; then env save; fi\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"