Home
last modified time | relevance | path

Searched hist:"2 f70c49e5b9813635ad73666aa30f304c7fdeda9" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/net/
H A Dnet.cda95427ce431908714ae5e9f663ee6e2bc3bcc33 Tue Apr 28 06:36:11 UTC 2009 Heiko Schocher <hs@denx.de> netloop: updates for NetLoop

Fix some issues introduced from commit:
2f70c49e5b9813635ad73666aa30f304c7fdeda9
suggested by Mike Frysinger.

- added some comment for the env_id variable in common_cmd_nvedit.c
- moved some variables in fn scope instead of file scope
- NetInitLoop now static void

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
2f70c49e5b9813635ad73666aa30f304c7fdeda9 Tue Feb 10 08:38:52 UTC 2009 Heiko Schocher <hs@denx.de> netloop: speed up NetLoop

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 <hs@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
/rk3399_rockchip-uboot/include/
H A Dcommon.h2f70c49e5b9813635ad73666aa30f304c7fdeda9 Tue Feb 10 08:38:52 UTC 2009 Heiko Schocher <hs@denx.de> netloop: speed up NetLoop

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 <hs@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>