Skip to contentSkip to conversation

configs: socfpga: arria10: Disable CONFIG_SPL_USE_TINY_PRINTF

PATCH In review [email protected] 2 participants 2 messages Mar 5 – Apr 16

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 configs: socfpga: arria10: Disable CONFIG_SPL_USE_TINY_PRINTF

From: Dinesh Maniyam <[email protected]>

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.

---
 arch/arm/mach-socfpga/Kconfig     | 1 -
 configs/socfpga_arria10_defconfig | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/Kconfig +0 -1
index f2e959b5662..ba01ec08be2 100644
@@ -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"
configs/socfpga_arria10_defconfig +1 -0
index b32f40ae408..74ec07cf3e4 100644
@@ -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
Signature · 1 line
2.43.7
Reviewed-by on v2 1/1
#1 lore raw
Quoted 29 lines · On 5/3/2026 1:58 pm, [email protected] wrote:

From: Dinesh Maniyam<[email protected]>

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.

---
  arch/arm/mach-socfpga/Kconfig     | 1 -
  configs/socfpga_arria10_defconfig | 1 +
  2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/Kconfig +0 -1
index f2e959b5662..ba01ec08be2 100644
@@ -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"
configs/socfpga_arria10_defconfig +0 -0
index b32f40ae408..74ec07cf3e4 100644

configs/socfpga_arria10_defconfig CONFIG_USB=y · line 72

Quoted 4 lines
configs/socfpga_arria10_defconfig +1 -0
@@ -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