[PATCH 1/1] Add mmc_set_env_dev to TI AM33xx, using the scratch reg of UART port

Tom Rini trini at konsulko.com
Wed May 11 14:51:43 CEST 2022


On Mon, May 09, 2022 at 05:15:25AM +0000, Da Shi Cao wrote:

> Signed-off-by: Dashi Cao <dscao999 at gmail.com>
> ---
>  board/ti/am335x/board.c | 40 ++++++++++++++++++++++++++++++++++++++++
>  common/spl/spl.c        |  6 ++++++
>  drivers/mmc/mmc.c       |  4 ++++
>  include/mmc.h           |  1 +
>  4 files changed, 51 insertions(+)

So, this should be done more generically.  And it's hard to say how
exactly without seeing how you've done mmc_get_env_dev() for your
platform.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220511/9f8eac9b/attachment.sig>


More information about the U-Boot mailing list