All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] configs: stm32mp: cleanup the stm32mp15 file
@ 2022-06-15 17:41 Patrick Delaunay
  2022-06-16  6:59 ` Patrice CHOTARD
  2022-06-17  9:17 ` Patrick DELAUNAY
  0 siblings, 2 replies; 3+ messages in thread
From: Patrick Delaunay @ 2022-06-15 17:41 UTC (permalink / raw)
  To: u-boot; +Cc: Patrick Delaunay, Patrice Chotard, U-Boot STM32

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>
---

Changes in v2:
- remove the define STM32_SYSRAM_END, no more used

 include/configs/stm32mp15_common.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/include/configs/stm32mp15_common.h b/include/configs/stm32mp15_common.h
index 08a72483bf..fc636beb3f 100644
--- a/include/configs/stm32mp15_common.h
+++ b/include/configs/stm32mp15_common.h
@@ -15,10 +15,6 @@
  */
 #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.
@@ -28,13 +24,6 @@
 /* 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
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] configs: stm32mp: cleanup the stm32mp15 file
  2022-06-15 17:41 [PATCH v2] configs: stm32mp: cleanup the stm32mp15 file Patrick Delaunay
@ 2022-06-16  6:59 ` Patrice CHOTARD
  2022-06-17  9:17 ` Patrick DELAUNAY
  1 sibling, 0 replies; 3+ messages in thread
From: Patrice CHOTARD @ 2022-06-16  6:59 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot; +Cc: U-Boot STM32

Hi Patrick

On 6/15/22 19:41, Patrick Delaunay wrote:
> 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>
> ---
> 
> Changes in v2:
> - remove the define STM32_SYSRAM_END, no more used
> 
>  include/configs/stm32mp15_common.h | 11 -----------
>  1 file changed, 11 deletions(-)
> 
> diff --git a/include/configs/stm32mp15_common.h b/include/configs/stm32mp15_common.h
> index 08a72483bf..fc636beb3f 100644
> --- a/include/configs/stm32mp15_common.h
> +++ b/include/configs/stm32mp15_common.h
> @@ -15,10 +15,6 @@
>   */
>  #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.
> @@ -28,13 +24,6 @@
>  /* 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
>  
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks 
Patrice

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] configs: stm32mp: cleanup the stm32mp15 file
  2022-06-15 17:41 [PATCH v2] configs: stm32mp: cleanup the stm32mp15 file Patrick Delaunay
  2022-06-16  6:59 ` Patrice CHOTARD
@ 2022-06-17  9:17 ` Patrick DELAUNAY
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick DELAUNAY @ 2022-06-17  9:17 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice Chotard, U-Boot STM32

Hi,

On 6/15/22 19:41, Patrick Delaunay wrote:
> 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>
> ---
>
> Changes in v2:
> - remove the define STM32_SYSRAM_END, no more used
>
>   include/configs/stm32mp15_common.h | 11 -----------
>   1 file changed, 11 deletions(-)
>

Applied to u-boot-stm/next, thanks!

Regards
Patrick


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-17  9:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-15 17:41 [PATCH v2] configs: stm32mp: cleanup the stm32mp15 file Patrick Delaunay
2022-06-16  6:59 ` Patrice CHOTARD
2022-06-17  9:17 ` Patrick DELAUNAY

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.