[U-Boot] [PATCH v4 4/8] POST: make env test flags fetching optional

Wolfgang Denk wd at denx.de
Wed Oct 5 20:52:13 CEST 2011


Dear Valentin Longchamp,

In message <1315837122-11952-5-git-send-email-valentin.longchamp at keymile.com> you wrote:
> Some boards have the environment variables defined in a slow EEPROM. post_run
> accesses these environment variables to define which tests have to be run (in
> post_get_flags). This is very slow before the code relocation on some boards
> with a slow I2C EEPROM for environement variables.
> 
> This patch adds a config option to skip the fetching of the test flags in the
> environment variables. The test flags assigned to the tests then only are the
> ones statically defined for the test in post/tests.c.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
> Acked-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  post/post.c |   20 +++++++++++++++-----
>  1 files changed, 15 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never call a man a fool.  Borrow from him.


More information about the U-Boot mailing list