From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Sun, 22 Feb 2009 23:53:13 -0800 Subject: [U-Boot] netloop: speed up NetLoop In-Reply-To: <49913D1C.6090905@denx.de> References: <49913D1C.6090905@denx.de> Message-ID: <49A255E9.4050100@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Heiko Schocher wrote: > NetLoop polls every cycle with getenv some environment variables. > This is horribly slow, especially when the environment is big. > > This patch reads only the environment variables in NetLoop, > when they were changed. > > Also moved the init part of the NetLoop function in a seperate > function. > > Signed-off-by: Heiko Schocher > --- > Applied. thanks, Ben