[U-Boot] [PATCH v4 0/20] Add environment call-back and flags capability
Tom Rini
trini at ti.com
Tue Dec 11 17:51:06 CET 2012
On Tue, Dec 04, 2012 at 07:52:27PM -0600, Joe Hershberger wrote:
>
> When a variable with a registered callback is inserted, deleted, or
> overwritten the callback is called and gives the system an opportunity
> to do something in response to the change. It also has the opportunuty
> to reject the change by returning non-zero.
>
> The flags on variables can control their type as well as their allowed
> access.
>
> The format of the list is:
> type_attribute = [s|d|x|b|i|m]
> attributes = type_attribute
> entry = variable_name[:attributes]
> list = entry[,list]
>
> The type attributes are:
> s - String (default)
> d - Decimal
> x - Hexadecimal
> b - Boolean ([1yYtT|0nNfF])
> i - IP address
> m - MAC address
>
> The access attributes are:
> a - Any (default)
> r - Read-only
> o - Write-once
> c - Change-default
>
> Changes in v4:
> - Prevent crash on relocation import
> - Fixed help text
> - Add help text for env flags command
> - Add force support to setenv
> - Implement delete
This should fix the problem Wolfgang saw, correct? And aside from the
comment fix Graeme found, this is ready for merge? Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121211/4c50fd29/attachment.pgp>
More information about the U-Boot
mailing list