Convert CONFIG_SYS_BOOTM_LEN to Kconfig
[platform/kernel/u-boot.git] / include / configs / stm32mp15_common.h
index 993c0d5..56fb4d3 100644 (file)
  * Configuration of the external SRAM memory used by U-Boot
  */
 #define CONFIG_SYS_SDRAM_BASE                  STM32_DDR_BASE
-#define CONFIG_SYS_INIT_SP_ADDR                        CONFIG_SYS_TEXT_BASE
-
-/*
- * Console I/O buffer size
- */
 
 /*
  * For booting Linux, use the first 256 MB of memory, since this is
 #define CONFIG_SYS_BOOTMAPSZ           SZ_256M
 
 /* Extend size of kernel image for uncompression */
-#define CONFIG_SYS_BOOTM_LEN           SZ_32M
-
-/* SPL support */
-#ifdef CONFIG_SPL
-/* SPL use DDR */
-#define CONFIG_SYS_SPL_MALLOC_START    0xC0300000
-#define CONFIG_SYS_SPL_MALLOC_SIZE     0x01D00000
-
-/* Restrict SPL to fit within SYSRAM */
-#define STM32_SYSRAM_END               (STM32_SYSRAM_BASE + STM32_SYSRAM_SIZE)
-#define CONFIG_SPL_STACK               (STM32_SYSRAM_BASE + \
-                                        STM32_SYSRAM_SIZE)
-#endif /* #ifdef CONFIG_SPL */
+
 /*MMC SD*/
 #define CONFIG_SYS_MMC_MAX_DEVICE      3
 
@@ -49,7 +32,6 @@
 /* Ethernet need */
 #ifdef CONFIG_DWC_ETH_QOS
 #define CONFIG_SERVERIP                 192.168.1.1
-#define CONFIG_SYS_AUTOLOAD            "no"
 #endif
 
 /*****************************************************************************/
@@ -95,7 +77,7 @@
        BOOT_TARGET_PXE(func)
 
 /*
- * default bootcmd for stm32mp1:
+ * default bootcmd for stm32mp15:
  * for serial/usb: execute the stm32prog command
  * for mmc boot (eMMC, SD card), distro boot on the same mmc device
  * for nand or spi-nand boot, distro boot with ubifs on UBI partition