Files
u-boot-sunxi/lib
Gerlando Falauto c5983592e9 env: add check/apply logic to himport_r()
Change hashtable so that a callback function will decide whether a
variable can be overwritten, and possibly apply the changes.

So add a new field to struct hsearch_data:

 o "apply" callback function to check whether a variable can be
    overwritten, and possibly immediately apply the changes;
    when NULL, no check is performed.

And a new argument to himport_r():
 o "do_apply": whether to call the apply callback function

NOTE: This patch does not change the current behavior.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2012-09-18 12:01:52 -07:00
..
2012-03-28 09:54:08 +02:00
2012-05-25 09:15:10 +02:00
2011-10-28 00:33:38 +02:00
2012-05-15 08:31:37 +02:00
2011-01-18 23:38:08 +01:00
2010-11-28 21:58:29 +01:00
2011-07-28 17:22:53 +02:00
2010-04-21 23:42:38 +02:00
2010-09-19 19:29:47 +02:00
2012-03-29 08:12:47 +02:00
2012-04-29 14:14:08 +02:00
2010-11-28 21:56:39 +01:00
2012-07-07 14:07:32 +02:00
2012-01-26 16:09:02 -06:00
2012-04-10 23:35:32 +02:00