[PATCH] arm64: versal2: Disable DEBUG uart for mini configurations

Michal Simek michal.simek at amd.com
Fri Mar 28 15:53:06 CET 2025



On 3/20/25 09:43, Michal Simek wrote:
> There is no reason to enable DEBUG uart used for early debugging by default
> that's why disable it.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   configs/amd_versal2_mini_defconfig      | 6 ------
>   configs/amd_versal2_mini_emmc_defconfig | 6 ------
>   configs/amd_versal2_mini_ospi_defconfig | 6 ------
>   configs/amd_versal2_mini_qspi_defconfig | 6 ------
>   4 files changed, 24 deletions(-)
> 
> diff --git a/configs/amd_versal2_mini_defconfig b/configs/amd_versal2_mini_defconfig
> index b6571186030d..d224583f56ae 100644
> --- a/configs/amd_versal2_mini_defconfig
> +++ b/configs/amd_versal2_mini_defconfig
> @@ -13,12 +13,9 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xBBF20000
>   CONFIG_ENV_SIZE=0x80
>   CONFIG_DEFAULT_DEVICE_TREE="amd-versal2-mini"
>   CONFIG_SYS_LOAD_ADDR=0xBBF80000
> -CONFIG_DEBUG_UART_BASE=0xf1920000
> -CONFIG_DEBUG_UART_CLOCK=100000000
>   CONFIG_XILINX_MINI=y
>   CONFIG_SYS_MEM_RSVD_FOR_MMU=y
>   # CONFIG_PSCI_RESET is not set
> -CONFIG_DEBUG_UART=y
>   CONFIG_SYS_MEMTEST_START=0x00000000
>   CONFIG_SYS_MEMTEST_END=0x00001000
>   # CONFIG_EXPERT is not set
> @@ -71,9 +68,6 @@ CONFIG_NO_NET=y
>   # CONFIG_INPUT is not set
>   # CONFIG_MMC is not set
>   # CONFIG_POWER is not set
> -CONFIG_DEBUG_UART_PL011=y
> -CONFIG_DEBUG_UART_ANNOUNCE=y
> -CONFIG_DEBUG_UART_SKIP_INIT=y
>   CONFIG_ARM_DCC=y
>   CONFIG_PL01X_SERIAL=y
>   # CONFIG_GZIP is not set
> diff --git a/configs/amd_versal2_mini_emmc_defconfig b/configs/amd_versal2_mini_emmc_defconfig
> index da3eebe3fdfc..3afc6cb2736b 100644
> --- a/configs/amd_versal2_mini_emmc_defconfig
> +++ b/configs/amd_versal2_mini_emmc_defconfig
> @@ -10,11 +10,8 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x10000
>   CONFIG_ENV_SIZE=0x80
>   CONFIG_DEFAULT_DEVICE_TREE="amd-versal2-mini"
>   CONFIG_SYS_LOAD_ADDR=0x8000000
> -CONFIG_DEBUG_UART_BASE=0xf1920000
> -CONFIG_DEBUG_UART_CLOCK=100000000
>   CONFIG_XILINX_MINI=y
>   # CONFIG_PSCI_RESET is not set
> -CONFIG_DEBUG_UART=y
>   # CONFIG_EXPERT is not set
>   CONFIG_REMAKE_ELF=y
>   # CONFIG_EFI_LOADER is not set
> @@ -60,9 +57,6 @@ CONFIG_NO_NET=y
>   CONFIG_MMC_HS200_SUPPORT=y
>   CONFIG_MMC_SDHCI=y
>   CONFIG_MMC_SDHCI_ZYNQ=y
> -CONFIG_DEBUG_UART_PL011=y
> -CONFIG_DEBUG_UART_ANNOUNCE=y
> -CONFIG_DEBUG_UART_SKIP_INIT=y
>   CONFIG_ARM_DCC=y
>   CONFIG_PL01X_SERIAL=y
>   CONFIG_FAT_WRITE=y
> diff --git a/configs/amd_versal2_mini_ospi_defconfig b/configs/amd_versal2_mini_ospi_defconfig
> index 8b9c44017eba..54328e85784a 100644
> --- a/configs/amd_versal2_mini_ospi_defconfig
> +++ b/configs/amd_versal2_mini_ospi_defconfig
> @@ -13,12 +13,9 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xBBF20000
>   CONFIG_ENV_SIZE=0x80
>   CONFIG_DEFAULT_DEVICE_TREE="amd-versal2-mini"
>   CONFIG_SYS_LOAD_ADDR=0xBBF80000
> -CONFIG_DEBUG_UART_BASE=0xf1920000
> -CONFIG_DEBUG_UART_CLOCK=100000000
>   CONFIG_XILINX_MINI=y
>   CONFIG_SYS_MEM_RSVD_FOR_MMU=y
>   # CONFIG_PSCI_RESET is not set
> -CONFIG_DEBUG_UART=y
>   # CONFIG_EXPERT is not set
>   CONFIG_REMAKE_ELF=y
>   # CONFIG_LEGACY_IMAGE_FORMAT is not set
> @@ -72,9 +69,6 @@ CONFIG_SPI_FLASH_SOFT_RESET_ON_BOOT=y
>   CONFIG_SPI_FLASH_STMICRO=y
>   CONFIG_SPI_FLASH_MT35XU=y
>   # CONFIG_POWER is not set
> -CONFIG_DEBUG_UART_PL011=y
> -CONFIG_DEBUG_UART_ANNOUNCE=y
> -CONFIG_DEBUG_UART_SKIP_INIT=y
>   CONFIG_ARM_DCC=y
>   CONFIG_PL01X_SERIAL=y
>   CONFIG_SPI=y
> diff --git a/configs/amd_versal2_mini_qspi_defconfig b/configs/amd_versal2_mini_qspi_defconfig
> index e17ca8657251..48fb7ae0e7f3 100644
> --- a/configs/amd_versal2_mini_qspi_defconfig
> +++ b/configs/amd_versal2_mini_qspi_defconfig
> @@ -13,12 +13,9 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xBBF20000
>   CONFIG_ENV_SIZE=0x80
>   CONFIG_DEFAULT_DEVICE_TREE="amd-versal2-mini"
>   CONFIG_SYS_LOAD_ADDR=0xBBF80000
> -CONFIG_DEBUG_UART_BASE=0xf1920000
> -CONFIG_DEBUG_UART_CLOCK=100000000
>   CONFIG_XILINX_MINI=y
>   CONFIG_SYS_MEM_RSVD_FOR_MMU=y
>   # CONFIG_PSCI_RESET is not set
> -CONFIG_DEBUG_UART=y
>   # CONFIG_EXPERT is not set
>   CONFIG_REMAKE_ELF=y
>   # CONFIG_LEGACY_IMAGE_FORMAT is not set
> @@ -65,9 +62,6 @@ CONFIG_NO_NET=y
>   # CONFIG_INPUT is not set
>   # CONFIG_MMC is not set
>   # CONFIG_POWER is not set
> -CONFIG_DEBUG_UART_PL011=y
> -CONFIG_DEBUG_UART_ANNOUNCE=y
> -CONFIG_DEBUG_UART_SKIP_INIT=y
>   CONFIG_ARM_DCC=y
>   CONFIG_PL01X_SERIAL=y
>   CONFIG_SPI=y

Applied.
M


More information about the U-Boot mailing list