[PATCH v6 04/17] lib: Makefile: build crc7.c when CONFIG_MMC_SPI

Bin Meng bmeng.cn at gmail.com
Mon Apr 20 10:05:25 CEST 2020


On Mon, Mar 30, 2020 at 1:06 AM Pragnesh Patel
<pragnesh.patel at sifive.com> 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 <pragnesh.patel at sifive.com>
> ---
>  common/spl/Kconfig  | 6 ++++++
>  drivers/mmc/Kconfig | 1 +
>  lib/Makefile        | 1 +
>  3 files changed, 8 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list