[PATCH] configs: socfpga: arria10: Disable CONFIG_USE_TINY_PRINTF
Dinh Nguyen
dinguyen at kernel.org
Wed Mar 4 07:58:00 CET 2026
On 3/3/26 21:53, dinesh.maniyam at altera.com wrote:
> From: Dinesh Maniyam <dinesh.maniyam at altera.com>
>
> 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.
Do you have a size diff for the SPL with this change?
>
> Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
Is the above contact valid? Also, try to just include contacts returned
from get_maintainer.
> Signed-off-by: Dinesh Maniyam <dinesh.maniyam at 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..d5feabe5ce0 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_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
More information about the U-Boot
mailing list