diff options
author | Tom Rini <trini@konsulko.com> | 2025-07-02 07:51:57 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-02 07:51:57 -0600 |
commit | c405bab7661dd60420e97a4edeb3162e9d7e02c5 (patch) | |
tree | eea5c8418fe6b89c92aabd7c7153f27cdcc9198f /drivers/mmc/rpmb.c | |
parent | cbb5672790d400e9ec6e9fceaf89ece2660c0117 (diff) | |
parent | be7fc8f331d5da68f54a241f08206e49236649d9 (diff) |
Merge tag 'mmc-next-2025-07-02' of https://source.denx.de/u-boot/custodians/u-boot-mmc into next
CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/26911
- Get clock manager address via DT for socfpga_dw_mmc
- Revert "drivers: mmc: rpmb: Use R1 response"
- Fix offsets relative to the end of the partition for mmc env
Diffstat (limited to 'drivers/mmc/rpmb.c')
-rw-r--r-- | drivers/mmc/rpmb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mmc/rpmb.c b/drivers/mmc/rpmb.c index fa3ac2d9e37..8bfdffd56f5 100644 --- a/drivers/mmc/rpmb.c +++ b/drivers/mmc/rpmb.c @@ -11,7 +11,7 @@ #include <log.h> #include <memalign.h> #include <mmc.h> -#include <sdhci.h> +#include <asm/byteorder.h> #include <u-boot/sha256.h> #include "mmc_private.h" @@ -91,7 +91,6 @@ static int mmc_rpmb_request(struct mmc *mmc, const struct s_rpmb *s, { struct mmc_cmd cmd = {0}; struct mmc_data data; - struct sdhci_host *host = mmc->priv; int ret; ret = mmc_set_blockcount(mmc, count, is_rel_write); @@ -106,9 +105,6 @@ static int mmc_rpmb_request(struct mmc *mmc, const struct s_rpmb *s, cmd.cmdarg = 0; cmd.resp_type = MMC_RSP_R1; - if (host->quirks & SDHCI_QUIRK_BROKEN_R1B) - cmd.resp_type = MMC_RSP_R1; - data.src = (const char *)s; data.blocks = 1; data.blocksize = MMC_MAX_BLOCK_LEN; |