public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2] configs: socfpga: arria10: Disable CONFIG_SPL_USE_TINY_PRINTF
@ 2026-03-05  5:58 dinesh.maniyam
  2026-04-16  3:17 ` Chee, Tien Fong
  0 siblings, 1 reply; 2+ messages in thread
From: dinesh.maniyam @ 2026-03-05  5:58 UTC (permalink / raw)
  To: u-boot
  Cc: Marek Vasut, Simon Goldschmidt, Tom Rini, Michal Simek,
	Dinh Nguyen, Simon Glass, Tien Fong, Kok Kiang, Dinesh, Boon Khai,
	Alif

From: Dinesh Maniyam <dinesh.maniyam@altera.com>

CONFIG_SPL_USE_TINY_PRINTF is enabled by default, disable it.
Arria 10 has 256KB of onchip ram and it is enough to support full printf.
Full printf allows us to have more complex format printing, example %ll.

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@altera.com>
---
 arch/arm/mach-socfpga/Kconfig     | 1 -
 configs/socfpga_arria10_defconfig | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index f2e959b5662..ba01ec08be2 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -101,7 +101,6 @@ config TARGET_SOCFPGA_ARRIA10
 	select SPL_SYSCON if SPL
 	select ETH_DESIGNWARE_SOCFPGA
 	imply FPGA_SOCFPGA
-	imply SPL_USE_TINY_PRINTF
 
 config SOCFPGA_ARRIA10_ALWAYS_REPROGRAM
 	bool "Always reprogram Arria 10 FPGA"
diff --git a/configs/socfpga_arria10_defconfig b/configs/socfpga_arria10_defconfig
index b32f40ae408..74ec07cf3e4 100644
--- a/configs/socfpga_arria10_defconfig
+++ b/configs/socfpga_arria10_defconfig
@@ -69,3 +69,4 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 # CONFIG_SPL_WDT is not set
 # CONFIG_TOOLS_MKEFICAPSULE is not set
+# CONFIG_SPL_USE_TINY_PRINTF is not set
-- 
2.43.7


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

* Re: [PATCH v2] configs: socfpga: arria10: Disable CONFIG_SPL_USE_TINY_PRINTF
  2026-03-05  5:58 [PATCH v2] configs: socfpga: arria10: Disable CONFIG_SPL_USE_TINY_PRINTF dinesh.maniyam
@ 2026-04-16  3:17 ` Chee, Tien Fong
  0 siblings, 0 replies; 2+ messages in thread
From: Chee, Tien Fong @ 2026-04-16  3:17 UTC (permalink / raw)
  To: dinesh.maniyam, u-boot
  Cc: Marek Vasut, Simon Goldschmidt, Tom Rini, Michal Simek,
	Dinh Nguyen, Simon Glass, Kok Kiang, Boon Khai, Alif

On 5/3/2026 1:58 pm, dinesh.maniyam@altera.com wrote:
> From: Dinesh Maniyam<dinesh.maniyam@altera.com>
>
> CONFIG_SPL_USE_TINY_PRINTF is enabled by default, disable it.
> Arria 10 has 256KB of onchip ram and it is enough to support full printf.
> Full printf allows us to have more complex format printing, example %ll.
>
> Signed-off-by: Dinesh Maniyam<dinesh.maniyam@altera.com>
> ---
>   arch/arm/mach-socfpga/Kconfig     | 1 -
>   configs/socfpga_arria10_defconfig | 1 +
>   2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
> index f2e959b5662..ba01ec08be2 100644
> --- a/arch/arm/mach-socfpga/Kconfig
> +++ b/arch/arm/mach-socfpga/Kconfig
> @@ -101,7 +101,6 @@ config TARGET_SOCFPGA_ARRIA10
>   	select SPL_SYSCON if SPL
>   	select ETH_DESIGNWARE_SOCFPGA
>   	imply FPGA_SOCFPGA
> -	imply SPL_USE_TINY_PRINTF
>   
>   config SOCFPGA_ARRIA10_ALWAYS_REPROGRAM
>   	bool "Always reprogram Arria 10 FPGA"
> diff --git a/configs/socfpga_arria10_defconfig b/configs/socfpga_arria10_defconfig
> index b32f40ae408..74ec07cf3e4 100644
> --- a/configs/socfpga_arria10_defconfig
> +++ b/configs/socfpga_arria10_defconfig
> @@ -69,3 +69,4 @@ CONFIG_USB=y
>   CONFIG_USB_DWC2=y
>   # CONFIG_SPL_WDT is not set
>   # CONFIG_TOOLS_MKEFICAPSULE is not set
> +# CONFIG_SPL_USE_TINY_PRINTF is not set

Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com> Best regards, 
Tien Fong

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

end of thread, other threads:[~2026-04-16  3:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05  5:58 [PATCH v2] configs: socfpga: arria10: Disable CONFIG_SPL_USE_TINY_PRINTF dinesh.maniyam
2026-04-16  3:17 ` Chee, Tien Fong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox