]> git.sur5r.net Git - u-boot/commit
POST: add post_log_res field for post results in global data
authorValentin Longchamp <valentin.longchamp@keymile.com>
Wed, 3 Aug 2011 02:37:01 +0000 (02:37 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 5 Oct 2011 20:03:10 +0000 (22:03 +0200)
commit79843950b26980cc0a62954bf49509de301607f3
treefbfb2b49a38f92bf7b1c6b427f3b8c7ed6e4dde1
parent3e161ced8fd3276aa77e4276e9237ae972b21f33
POST: add post_log_res field for post results in global data

The current post_log_word in global data is currently split into 2x
16 bits: half for the test start, half for the test success.
Since we alredy have more than 16 POST tests defined and more could
be defined, this may result in an overflow and the post_output_backlog
would not work for the tests defined further of these 16 positions.

An additional field is added to global data so that we can now support up
to 32 (depending of architecture) tests. The post_log_word is only used
to record the start of the test and the new field post_log_res for the
test success (or failure). The post_output_backlog is for this change
also adapted.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
arch/arm/include/asm/global_data.h
arch/blackfin/include/asm/global_data.h
arch/nios2/include/asm/global_data.h
arch/powerpc/include/asm/global_data.h
arch/sparc/include/asm/global_data.h
post/post.c