From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 24 Aug 2012 16:48:55 +0200 Subject: [U-Boot] [PATCH v4 2/7] env: unify logic to check and apply changes In-Reply-To: <1345803102-21110-3-git-send-email-gerlando.falauto@keymile.com> References: <1321634955-5561-1-git-send-email-gerlando.falauto@keymile.com> <1345803102-21110-1-git-send-email-gerlando.falauto@keymile.com> <1345803102-21110-3-git-send-email-gerlando.falauto@keymile.com> Message-ID: <201208241648.55308.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Gerlando Falauto, > 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 [...] Reviewed-by: Marek Vasut but whew, you're giving me a tough time here with such change :-) At least now I see how env works ;-) Best regards, Marek Vasut