From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Mon, 20 Apr 2020 16:05:25 +0800 Subject: [PATCH v6 04/17] lib: Makefile: build crc7.c when CONFIG_MMC_SPI In-Reply-To: <20200329170538.25449-5-pragnesh.patel@sifive.com> References: <20200329170538.25449-1-pragnesh.patel@sifive.com> <20200329170538.25449-5-pragnesh.patel@sifive.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Mar 30, 2020 at 1:06 AM Pragnesh Patel wrote: > > When build U-Boot SPL, meet an issue of undefined reference to > 'crc7' for drivers/mmc/mmc_spi.c, so let's compile crc7.c when > CONFIG_MMC_SPI selected. > > Signed-off-by: Pragnesh Patel > --- > common/spl/Kconfig | 6 ++++++ > drivers/mmc/Kconfig | 1 + > lib/Makefile | 1 + > 3 files changed, 8 insertions(+) > Reviewed-by: Bin Meng