From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 11 Dec 2012 09:51:06 -0700 Subject: [U-Boot] [PATCH v4 0/20] Add environment call-back and flags capability In-Reply-To: <1354672367-23747-1-git-send-email-joe.hershberger@ni.com> References: <1351787996-24560-1-git-send-email-joe.hershberger@ni.com> <1354672367-23747-1-git-send-email-joe.hershberger@ni.com> Message-ID: <20121211165106.GA24176@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: