configs: socfpga: arria10: Disable CONFIG_USE_TINY_PRINTF
Subsystems (3)
PATCH 1/1 configs: socfpga: arria10: Disable CONFIG_USE_TINY_PRINTF
From: Dinesh Maniyam <[email protected]>
CONFIG_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
@@ -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
@@ -69,3 +69,4 @@ CONFIG_USB=y CONFIG_USB_DWC2=y # CONFIG_SPL_WDT is not set # CONFIG_TOOLS_MKEFICAPSULE is not set +# CONFIG_USE_TINY_PRINTF is not set
Signature · 1 line
2.43.7
Dinh Nguyen
maintainerQuoted 5 lines · On 3/3/26 21:53, [email protected] wrote:
From: Dinesh Maniyam <[email protected]>
CONFIG_USE_TINY_PRINTFis 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.
Do you have a size diff for the SPL with this change?
Quoted 2 lines
Signed-off-by Ley Foon Tan <[email protected]>
Is the above contact valid? Also, try to just include contacts returned from get_maintainer.
Quoted 23 lines
Signed-off-by Dinesh Maniyam <[email protected]>--- 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@@ -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
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_USE_TINY_PRINTF is not set
This does not disable CONFIG_SPL_USE_TINY_PRINTF, you need to add this:
# CONFIG_SPL_USE_TINY_PRINTF is not set
Dinh
Hi,
Quoted 60 lines · Dinh Nguyen
[CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
Quoted 5 lines · On 3/3/26 21:53, [email protected] wrote:
From: Dinesh Maniyam <[email protected]>
CONFIG_USE_TINY_PRINTFis 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.Do you have a size diff for the SPL with this change?
No, disabling
CONFIG_SPL_USE_TINY_PRINTFdoes not introduce a size increase in SPL The implementation should be safe and allows richer formatting support when needed.Quoted 2 lines
Signed-off-by Ley Foon Tan <[email protected]>Is the above contact valid? Also, try to just include contacts returned from
get_maintainer.I will remove the invalid contact.
Quoted 23 lines
Signed-off-by Dinesh Maniyam <[email protected]>---
arch/arm/mach-socfpga/Kconfig | 1 -
configs/socfpga_arria10_defconfig | 1 +2 files changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-socfpga/Kconfig +0
-0@@ -101,7 +101,6 @@ config TARGET_SOCFPGA_ARRIA10select
SPL_SYSCONif SPL
selectETH_DESIGNWARE_SOCFPGA
implyFPGA_SOCFPGA
- implySPL_USE_TINY_PRINTFconfig
SOCFPGA_ARRIA10_ALWAYS_REPROGRAM
bool "Always reprogram Arria 10 FPGA"configs/socfpga_arria10_defconfig +0
-0@@ -69,3 +69,4 @@ CONFIG_USB=yQuoted 4 lines
CONFIG_USB_DWC2=y
#CONFIG_SPL_WDTis not set
#CONFIG_TOOLS_MKEFICAPSULEis not set
+#CONFIG_USE_TINY_PRINTFis not setThis does not disable
CONFIG_SPL_USE_TINY_PRINTF, you need to add this:#
CONFIG_SPL_USE_TINY_PRINTFis not setDinh
Yes, you are right!
I will resubmit v2.Dinesh