[U-Boot] [PATCH] env: add ENV_IS_ANYWHERE

Tom Rini trini at konsulko.com
Thu Aug 3 00:48:13 UTC 2017


On Mon, Jul 31, 2017 at 08:42:01AM -0400, Rob Clark wrote:

> Useful for devices which would otherwise have to use ENV_IS_NOWHERE.
> Tries to find and load uboot.env from any block device (which may be,
> for example, hot-pluggable sd-card, SATA or USB disk, so the exact
> location is not known at the time u-boot is compiled).
> 
> Signed-off-by: Rob Clark <robdclark at gmail.com>

I can see where this concept is useful.  What I would like to see is
updating the ENV_IS_IN_FAT / ENV_IS_IN_EXT4 / ENV_IS_ANYWHERE so that we
end up with:
- ENV_IS_IN_FILESYSTEM
  - Configured device, part, file.
  - Optional specify device, otherwise help for the option describes the
    logic behind how U-Boot will iterate until it finds something.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170802/b5d8b565/attachment.sig>


More information about the U-Boot mailing list