[U-Boot] [PATCH v2] Add support for MMC to fw_printenv/setenv

Mike Frysinger vapier at gentoo.org
Fri Jan 6 07:53:28 CET 2012


On Thursday 05 January 2012 19:30:57 Christian Daudt wrote:
> Subject: [PATCH] Add support for MMC to fw_printenv/setenv
> 
> This patch checks if the fd is MTD and if not (using an MTD-specific IOCTL)
> and skips the flash unlock/erase/lock sequence if it is not MTD.
> - fd_is_mtd function added to determine MTD/MMC
> - flash_write_block made to not try MTD operations if mtd_type ==
> MTD_ABSENT - flash_read works with MMC devices now.

seems reasonable, but i don't know anything about this code ;)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120106/3a31e19c/attachment.pgp>


More information about the U-Boot mailing list