summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2025-01-24 16:14:30 +0100
committerTom Rini <trini@konsulko.com>2025-01-31 11:00:49 -0600
commit7750b737a7b1ad5aec2d27538e8c66707e98c1bd (patch)
treec0b5c6355adac6816cdb8dd2670d5156783866f3 /lib/string.c
parenta582e485338633fb2bd3b124a06da1254b71947c (diff)
toradex: tdx-cfg-block: fix switch to user partition
The Toradex configuration block is stored in the first boot partition of the eMMC. After reading the configuration block, U-Boot switches back to the user partition. Currently, this operation always targets mmc device 0, even when the configuration block is stored on mmc device 2. This patch addresses the issue by switching the mmc device set in CONFIG_TDX_CFG_BLOCK_DEV to the user partition, rather than using the hardcoded device 0. Fixes: a2777ecb9d11 ("toradex: config block handling") Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions