drivers: mmc: rpmb: do not build for SPL
PATCH 1/1 drivers: mmc: rpmb: do not build for SPL
RPMB support is used by the 'mmc rpmb' command and by the OP-TEE support. We do not need it in SPL.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- drivers/mmc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/Makefile +1 -1
@@ -38,7 +38,7 @@ obj-$(CONFIG_MMC_MXC) += mxcmmc.o obj-$(CONFIG_MMC_MXS) += mxsmmc.o obj-$(CONFIG_MMC_PCI) += pci_mmc.o obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o -obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o +obj-$(CONFIG_$(SPL_TPL_)SUPPORT_EMMC_RPMB) += rpmb.o obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
--
2.25.1
PATCH 1/1 drivers: mmc: rpmb: do not build for SPL
Quoted 7 lines
Subject: [PATCH] drivers: mmc: rpmb: do not build for SPL
RPMB support is used by the 'mmc rpmb' command and by the OP-TEE support.
We do not need it in SPL.Signed-off-by Heinrich Schuchardt <[email protected]>
Reviewed-by Peng Fan <[email protected]>
Quoted 19 lines
--- drivers/mmc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/Makefile index renamed from drivers/mmc/Makefile +0
-0
615b724bf0..e84c792999100644drivers/mmc/Makefile +1
-2@@ -38,7 +38,7 @@ obj-$(CONFIG_MMC_MXC) += mxcmmc.o obj-$(CONFIG_MMC_MXS) += mxsmmc.o obj-$(CONFIG_MMC_PCI) += pci_mmc.o obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o -obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o +obj-$(CONFIG_$(SPL_TPL_)SUPPORT_EMMC_RPMB) += rpmb.o obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o obj-$(CONFIG_SH_SDHI) += sh_sdhi.o --2.25.1
PATCH 1/1 drivers: mmc: rpmb: do not build for SPL
In reply to Heinrich SchuchardtQuoted 4 lines · Heinrich Schuchardt
RPMB support is used by the 'mmc rpmb' command and by the OP-TEE support. We do not need it in SPL.
Signed-off-by Heinrich Schuchardt <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200415/71c01984/attachment.sig>