mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Revert "drivers: mmc: rpmb: Use R1 response"
This reverts commitae93d8106b. It is no longer needed since24b1e0c7e2. Since the obsolete include pulled in byteorder.h which is needed by now, include this one directly. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user