diff options
-rw-r--r-- | board/toradex/common/tdx-cfg-block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index 3855e15b83b..b2149438b88 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -312,7 +312,7 @@ static int tdx_cfg_block_mmc_storage(u8 *config_block, int write) out: /* Switch back to regular eMMC user partition */ - blk_select_hwpart_devnum(UCLASS_MMC, 0, 0); + blk_select_hwpart_devnum(UCLASS_MMC, dev, 0); return ret; } |