Message ID | 6a263cf5f6b7c7f8e0bfc11649887f2760385d0e.1728286203.git.michal.simek@amd.com |
---|---|
State | Accepted |
Commit | 93590a08e3d9b2cec2adb215dbb06334d690644f |
Delegated to: | Michal Simek |
Headers | show |
Series | [v2] amd: Disable LMB, BOOTM, MTD and EFI loader for mini configurations | expand |
On 10/7/24 09:30, Michal Simek wrote: > Mini configurations don't need these features that's why disable them. > > Signed-off-by: Michal Simek <michal.simek@amd.com> > --- > > Changes in v2: > - Get back MTD for amd_versal2_mini_ospi_defconfig because of missing > spi_mem_dtr_supports_op and spi_mem_default_supports_op > > configs/amd_versal2_mini_defconfig | 3 +++ > configs/amd_versal2_mini_ospi_defconfig | 3 +++ > configs/amd_versal2_mini_qspi_defconfig | 4 +++- > 3 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/configs/amd_versal2_mini_defconfig b/configs/amd_versal2_mini_defconfig > index 0dd2305bfb2d..f2444308fb97 100644 > --- a/configs/amd_versal2_mini_defconfig > +++ b/configs/amd_versal2_mini_defconfig > @@ -22,6 +22,7 @@ CONFIG_SYS_MEMTEST_START=0x00000000 > CONFIG_SYS_MEMTEST_END=0x00001000 > # CONFIG_EXPERT is not set > CONFIG_REMAKE_ELF=y > +# CONFIG_EFI_LOADER is not set > # CONFIG_LEGACY_IMAGE_FORMAT is not set > # CONFIG_AUTOBOOT is not set > # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set > @@ -35,6 +36,7 @@ CONFIG_BOARD_EARLY_INIT_R=y > CONFIG_SYS_PROMPT="versal2> " > # CONFIG_CMD_CONSOLE is not set > # CONFIG_CMD_BOOTD is not set > +# CONFIG_CMD_BOOTM is not set > # CONFIG_CMD_BOOTI is not set > # CONFIG_CMD_ELF is not set > # CONFIG_CMD_FDT is not set > @@ -75,3 +77,4 @@ CONFIG_DEBUG_UART_SKIP_INIT=y > CONFIG_ARM_DCC=y > CONFIG_PL01X_SERIAL=y > # CONFIG_GZIP is not set > +# CONFIG_LMB is not set > diff --git a/configs/amd_versal2_mini_ospi_defconfig b/configs/amd_versal2_mini_ospi_defconfig > index 2242960392f5..4ae5ae19b84c 100644 > --- a/configs/amd_versal2_mini_ospi_defconfig > +++ b/configs/amd_versal2_mini_ospi_defconfig > @@ -20,6 +20,7 @@ CONFIG_SYS_LOAD_ADDR=0xBBF80000 > CONFIG_DEBUG_UART=y > # CONFIG_EXPERT is not set > CONFIG_REMAKE_ELF=y > +# CONFIG_EFI_LOADER is not set > # CONFIG_LEGACY_IMAGE_FORMAT is not set > # CONFIG_AUTOBOOT is not set > # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set > @@ -33,6 +34,7 @@ CONFIG_BOARD_EARLY_INIT_R=y > CONFIG_SYS_PROMPT="versal2> " > # CONFIG_CMD_CONSOLE is not set > # CONFIG_CMD_BOOTD is not set > +# CONFIG_CMD_BOOTM is not set > # CONFIG_CMD_BOOTI is not set > # CONFIG_CMD_ELF is not set > # CONFIG_CMD_FDT is not set > @@ -82,3 +84,4 @@ CONFIG_HAS_CQSPI_REF_CLK=y > CONFIG_CQSPI_REF_CLK=200000000 > CONFIG_CADENCE_OSPI_VERSAL=y > # CONFIG_GZIP is not set > +# CONFIG_LMB is not set > diff --git a/configs/amd_versal2_mini_qspi_defconfig b/configs/amd_versal2_mini_qspi_defconfig > index 3360c1546a20..b1d966a56c68 100644 > --- a/configs/amd_versal2_mini_qspi_defconfig > +++ b/configs/amd_versal2_mini_qspi_defconfig > @@ -20,6 +20,7 @@ CONFIG_SYS_LOAD_ADDR=0xBBF80000 > CONFIG_DEBUG_UART=y > # CONFIG_EXPERT is not set > CONFIG_REMAKE_ELF=y > +# CONFIG_EFI_LOADER is not set > # CONFIG_LEGACY_IMAGE_FORMAT is not set > # CONFIG_AUTOBOOT is not set > # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set > @@ -33,6 +34,7 @@ CONFIG_BOARD_EARLY_INIT_R=y > CONFIG_SYS_PROMPT="versal2> " > # CONFIG_CMD_CONSOLE is not set > # CONFIG_CMD_BOOTD is not set > +# CONFIG_CMD_BOOTM is not set > # CONFIG_CMD_BOOTI is not set > # CONFIG_CMD_ELF is not set > # CONFIG_CMD_FDT is not set > @@ -62,7 +64,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y > # CONFIG_I2C is not set > # CONFIG_INPUT is not set > # CONFIG_MMC is not set > -CONFIG_MTD=y > CONFIG_DM_SPI_FLASH=y > # CONFIG_SPI_FLASH_LOCK is not set > CONFIG_SPI_FLASH_STMICRO=y > @@ -77,3 +78,4 @@ CONFIG_SPI=y > CONFIG_DM_SPI=y > CONFIG_ZYNQMP_GQSPI=y > # CONFIG_GZIP is not set > +# CONFIG_LMB is not set Applied. M
diff --git a/configs/amd_versal2_mini_defconfig b/configs/amd_versal2_mini_defconfig index 0dd2305bfb2d..f2444308fb97 100644 --- a/configs/amd_versal2_mini_defconfig +++ b/configs/amd_versal2_mini_defconfig @@ -22,6 +22,7 @@ CONFIG_SYS_MEMTEST_START=0x00000000 CONFIG_SYS_MEMTEST_END=0x00001000 # CONFIG_EXPERT is not set CONFIG_REMAKE_ELF=y +# CONFIG_EFI_LOADER is not set # CONFIG_LEGACY_IMAGE_FORMAT is not set # CONFIG_AUTOBOOT is not set # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set @@ -35,6 +36,7 @@ CONFIG_BOARD_EARLY_INIT_R=y CONFIG_SYS_PROMPT="versal2> " # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_BOOTM is not set # CONFIG_CMD_BOOTI is not set # CONFIG_CMD_ELF is not set # CONFIG_CMD_FDT is not set @@ -75,3 +77,4 @@ CONFIG_DEBUG_UART_SKIP_INIT=y CONFIG_ARM_DCC=y CONFIG_PL01X_SERIAL=y # CONFIG_GZIP is not set +# CONFIG_LMB is not set diff --git a/configs/amd_versal2_mini_ospi_defconfig b/configs/amd_versal2_mini_ospi_defconfig index 2242960392f5..4ae5ae19b84c 100644 --- a/configs/amd_versal2_mini_ospi_defconfig +++ b/configs/amd_versal2_mini_ospi_defconfig @@ -20,6 +20,7 @@ CONFIG_SYS_LOAD_ADDR=0xBBF80000 CONFIG_DEBUG_UART=y # CONFIG_EXPERT is not set CONFIG_REMAKE_ELF=y +# CONFIG_EFI_LOADER is not set # CONFIG_LEGACY_IMAGE_FORMAT is not set # CONFIG_AUTOBOOT is not set # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set @@ -33,6 +34,7 @@ CONFIG_BOARD_EARLY_INIT_R=y CONFIG_SYS_PROMPT="versal2> " # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_BOOTM is not set # CONFIG_CMD_BOOTI is not set # CONFIG_CMD_ELF is not set # CONFIG_CMD_FDT is not set @@ -82,3 +84,4 @@ CONFIG_HAS_CQSPI_REF_CLK=y CONFIG_CQSPI_REF_CLK=200000000 CONFIG_CADENCE_OSPI_VERSAL=y # CONFIG_GZIP is not set +# CONFIG_LMB is not set diff --git a/configs/amd_versal2_mini_qspi_defconfig b/configs/amd_versal2_mini_qspi_defconfig index 3360c1546a20..b1d966a56c68 100644 --- a/configs/amd_versal2_mini_qspi_defconfig +++ b/configs/amd_versal2_mini_qspi_defconfig @@ -20,6 +20,7 @@ CONFIG_SYS_LOAD_ADDR=0xBBF80000 CONFIG_DEBUG_UART=y # CONFIG_EXPERT is not set CONFIG_REMAKE_ELF=y +# CONFIG_EFI_LOADER is not set # CONFIG_LEGACY_IMAGE_FORMAT is not set # CONFIG_AUTOBOOT is not set # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set @@ -33,6 +34,7 @@ CONFIG_BOARD_EARLY_INIT_R=y CONFIG_SYS_PROMPT="versal2> " # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_BOOTM is not set # CONFIG_CMD_BOOTI is not set # CONFIG_CMD_ELF is not set # CONFIG_CMD_FDT is not set @@ -62,7 +64,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y # CONFIG_I2C is not set # CONFIG_INPUT is not set # CONFIG_MMC is not set -CONFIG_MTD=y CONFIG_DM_SPI_FLASH=y # CONFIG_SPI_FLASH_LOCK is not set CONFIG_SPI_FLASH_STMICRO=y @@ -77,3 +78,4 @@ CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_ZYNQMP_GQSPI=y # CONFIG_GZIP is not set +# CONFIG_LMB is not set
Mini configurations don't need these features that's why disable them. Signed-off-by: Michal Simek <michal.simek@amd.com> --- Changes in v2: - Get back MTD for amd_versal2_mini_ospi_defconfig because of missing spi_mem_dtr_supports_op and spi_mem_default_supports_op configs/amd_versal2_mini_defconfig | 3 +++ configs/amd_versal2_mini_ospi_defconfig | 3 +++ configs/amd_versal2_mini_qspi_defconfig | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-)