]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32mp: cleanup the stm32mp15 file
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 15 Jun 2022 17:41:48 +0000 (19:41 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 17 Jun 2022 12:12:27 +0000 (14:12 +0200)
Remove STM32_SYSRAM_END and clean the comments in stm32mp15_common.h file
after moving some CONFIG to Kconfig: CONFIG_SYS_CBSIZE,
CONFIG_SPL_MAX_FOOTPRINT, CONFIG_SYS_SPL_MALLOC_START and
CONFIG_SYS_SPL_MALLOC_SIZE.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
include/configs/stm32mp15_common.h

index 08a72483bfc2c5dc75e1b5983a1203e36907fb5c..fc636beb3fc846324a3a725aa43303dd3ddb69a6 100644 (file)
  */
 #define CONFIG_SYS_SDRAM_BASE                  STM32_DDR_BASE
 
-/*
- * Console I/O buffer size
- */
-
 /*
  * For booting Linux, use the first 256 MB of memory, since this is
  * the maximum mapped by the Linux kernel during initialization.
 /* Extend size of kernel image for uncompression */
 #define CONFIG_SYS_BOOTM_LEN           SZ_32M
 
-/* SPL support */
-#ifdef CONFIG_SPL
-/* SPL use DDR */
-
-/* Restrict SPL to fit within SYSRAM */
-#define STM32_SYSRAM_END               (STM32_SYSRAM_BASE + STM32_SYSRAM_SIZE)
-#endif /* #ifdef CONFIG_SPL */
 /*MMC SD*/
 #define CONFIG_SYS_MMC_MAX_DEVICE      3