From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 01 Apr 2025 14:16:02 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tzaXC-006zFo-1d for lore@lore.pengutronix.de; Tue, 01 Apr 2025 14:16:02 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tzaXC-0005qd-1C; Tue, 01 Apr 2025 14:16:02 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tzaX7-0005oe-H6; Tue, 01 Apr 2025 14:15:57 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tzaX7-002lK3-16; Tue, 01 Apr 2025 14:15:57 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tzaX7-003Iqs-0o; Tue, 01 Apr 2025 14:15:57 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Tue, 1 Apr 2025 14:15:55 +0200 Message-Id: <20250401121556.787399-2-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250401121556.787399-1-a.fatoum@pengutronix.de> References: <20250401121556.787399-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 2/3] v7a: barebox: am335x-mlo: disable MTD X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false We currently configure the MLO image to support SPI-NOR and NAND flash, but we only generate SD/eMMC images for am335x platforms. The MLO first stage always boots from the same boot medium it came from and thus the MTD support is unused. barebox v2025.03.0 got big enough that it breaks our config, thus lets disable MTD for now. There are already fixes to get the size down queued for the next release, so this commit can be reverted in future. Signed-off-by: Ahmad Fatoum --- .../platform-v7a/barebox-am335x-mlo.config | 60 +------------------ 1 file changed, 1 insertion(+), 59 deletions(-) diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config index c9cb8a914155..ad87ca07cf23 100644 --- a/configs/platform-v7a/barebox-am335x-mlo.config +++ b/configs/platform-v7a/barebox-am335x-mlo.config @@ -234,14 +234,12 @@ CONFIG_OFDEVICE=y CONFIG_OF_GPIO=y # CONFIG_OF_OVERLAY is not set # CONFIG_AIODEV is not set -CONFIG_ARM_AMBA=y # # serial drivers # # CONFIG_SERIAL_DEV_BUS is not set # CONFIG_DRIVER_SERIAL_ARM_DCC is not set -# CONFIG_SERIAL_AMBA_PL011 is not set CONFIG_DRIVER_SERIAL_NS16550=y # CONFIG_DRIVER_SERIAL_NS16550_OMAP_TTYS is not set # CONFIG_DRIVER_SERIAL_CADENCE is not set @@ -260,59 +258,7 @@ CONFIG_DRIVER_SPI_OMAP3=y # end of SPI drivers # CONFIG_I2C is not set -CONFIG_MTD=y -# CONFIG_MTD_WRITE is not set -# CONFIG_MTD_OOB_DEVICE is not set -# CONFIG_MTD_RAW_DEVICE is not set -# CONFIG_MTD_CONCAT is not set - -# -# MTD debug options -# -# CONFIG_MTD_PEB_DEBUG is not set - -# -# Self contained MTD devices -# -# CONFIG_MTD_DATAFLASH is not set -CONFIG_MTD_M25P80=y -# CONFIG_MTD_DOCG3 is not set -# CONFIG_MTD_MTDRAM is not set -# end of Self contained MTD devices - -# CONFIG_DRIVER_CFI is not set - -# -# NAND -# -CONFIG_MTD_NAND_CORE=y -CONFIG_MTD_RAW_NAND=y -CONFIG_NAND=y -# CONFIG_MTD_NAND_ECC_SOFT is not set -# CONFIG_NAND_ECC_HW_SYNDROME is not set - -# -# Raw/parallel NAND flash controllers -# -CONFIG_NAND_OMAP_GPMC=y -# CONFIG_MTD_NAND_OMAP_ELM is not set -# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set -# CONFIG_MTD_NAND_DENALI is not set - -# -# ECC engine support -# -CONFIG_MTD_NAND_ECC=y -CONFIG_MTD_NAND_ECC_SW_HAMMING=y -# CONFIG_MTD_NAND_ECC_SW_BCH is not set -# end of ECC engine support -# end of NAND - -CONFIG_MTD_SPI_NOR=y -# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set -# CONFIG_SPI_CADENCE_QUADSPI is not set -# CONFIG_SPI_SYNOPSYS_OCTALSPI_NOR is not set -# CONFIG_MTD_UBI is not set +# CONFIG_MTD is not set CONFIG_DISK=y # CONFIG_DISK_WRITE is not set @@ -350,7 +296,6 @@ CONFIG_MCI=y # CONFIG_MCI_SUNXI_SMHC is not set # CONFIG_MCI_ROCKCHIP_DWCMSHC is not set CONFIG_MCI_OMAP_HSMMC=y -# CONFIG_MCI_MMCI is not set # CONFIG_MCI_ARASAN is not set # CONFIG_MCI_AM654 is not set # CONFIG_MCI_SPI is not set @@ -419,7 +364,6 @@ CONFIG_GPIOLIB=y # CONFIG_GPIO_74XX_MMIO is not set # CONFIG_GPIO_GENERIC_PLATFORM is not set CONFIG_GPIO_OMAP=y -# CONFIG_GPIO_PL061 is not set # CONFIG_GPIO_DESIGNWARE is not set # CONFIG_GPIO_SIFIVE is not set # CONFIG_GPIO_LATCH is not set @@ -545,7 +489,6 @@ CONFIG_FS_RAMFS=y CONFIG_FS_FAT=y # CONFIG_FS_FAT_WRITE is not set CONFIG_FS_FAT_LFN=y -# CONFIG_FS_JFFS2 is not set # CONFIG_FS_BPKFS is not set # CONFIG_FS_UIMAGEFS is not set # CONFIG_FS_PSTORE is not set @@ -591,7 +534,6 @@ CONFIG_XZ_DEC_ARM64=y # CONFIG_BASE64 is not set # CONFIG_LZO_DECOMPRESS is not set CONFIG_XYMODEM=y -CONFIG_LIBFDT=y # CONFIG_ALLOW_PRNG_FALLBACK is not set # CONFIG_CRC_CCITT is not set # CONFIG_CRC8 is not set -- 2.39.5