Gerlando Falauto c3f6525854 env: unify logic to check and apply changes
The logic of checking special parameters (e.g. baudrate, stdin, stdout,
for a valid value and/or whether can be overwritten) and applying the
new value to the running system is now all within a single function
env_check_apply() which can be called whenever changes are made
to the environment, no matter if by set, default or import.

With this patch env_check_apply() is only called by "env set",
retaining previous 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
..
2011-10-22 01:22:21 +02:00
2012-03-26 11:00:31 +02:00
2011-07-28 16:41:06 +02:00
2012-09-05 17:32:42 -05:00
2012-03-27 22:05:28 +02:00
2012-05-20 08:32:32 +02:00
2011-07-28 17:22:53 +02:00
2011-10-22 01:13:35 +02:00
2012-08-09 23:39:18 +02:00
2012-08-09 23:42:20 +02:00
2012-09-18 12:01:51 -07:00
2011-12-07 08:41:22 +01:00
2012-07-10 11:35:38 +02:00
2011-10-22 01:13:35 +02:00
2011-12-05 22:48:10 +01:00
2011-09-04 23:27:52 +02:00
2011-10-26 21:33:42 +02:00
2012-05-20 08:32:32 +02:00