]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: mmc: rpmb: do not build for SPL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 15 Apr 2020 16:28:09 +0000 (18:28 +0200)
committerPeng Fan <peng.fan@nxp.com>
Wed, 22 Apr 2020 12:41:57 +0000 (20:41 +0800)
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 <xypron.glpk@gmx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mmc/Makefile

index 615b724bf0d636d2fb421405ee7e03978ebbbeea..e84c7929993087fc7b469521b8d3b6a96cbf173d 100644 (file)
@@ -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