From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Date: Thu, 29 Nov 2018 01:05:09 +0100 Subject: [U-Boot] [PATCH v2 24/24] mtd: drop CONFIG_MTD_PARTITIONS In-Reply-To: <20181128230800.13292-25-miquel.raynal@bootlin.com> References: <20181128230800.13292-1-miquel.raynal@bootlin.com> <20181128230800.13292-25-miquel.raynal@bootlin.com> Message-ID: <20181129010509.053b718a@bbrezillon> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 29 Nov 2018 00:08:00 +0100 Miquel Raynal wrote: > There is no point in compiling mtdparts.c only in certain > circumstances. Whether MTD is needed and it will be built, or MTD is > not needed and the file will be ignored. You're overlooking the image size constraint. Some might want to have MTD support without partitioning, and we shouldn't force them to pull this code in if they don't need it.