
This series adds support for POST on the km_arm boards. These boards use a jumper to run some self-tests at the board power-up. There are some adaptations for POST to run on the ARM architecture.
This series defines a new mem_regions POST test. This test also takes place before relocation, but it only tests some regions of the RAM so that it is quicker.
Changes for v2: - added CONFIG_POST_EXTERNAL_WORD_FUNCS to allow to redefine post_word_load/store in the board support file when the proposed functions are not suitable.
Changes for v3: - moved CONFIG_POST_EXTERNAL_WORD_FUNCS to an individual patch - moved memory test configuration for km_arm from post to board code
Changes for v4: - rebased on 2011.09-rc1 - changed a comment in km_arm.h - moved post_word location by 4 bytes because of conflict with bootcounter
Valentin Longchamp (8): POST/arm: adaptations needed for POST on ARM to work POST: allow redefinition of post_word_load/store POST: add post_log_res field for post results in global data POST: make env test flags fetching optional POST: drivers/memory.c coding style cleanup POST: add new memory regions test km_arm: change CONFIG_SYS_TEXT_BASE to end of RAM km_arm: enable POST for these boards
arch/arm/include/asm/global_data.h | 5 + arch/arm/lib/board.c | 2 + arch/blackfin/include/asm/global_data.h | 1 + arch/nios2/include/asm/global_data.h | 1 + arch/powerpc/include/asm/global_data.h | 1 + arch/sparc/include/asm/global_data.h | 1 + board/keymile/km_arm/km_arm.c | 33 ++++++ include/configs/km/km_arm.h | 8 ++- include/post.h | 9 ++ post/drivers/memory.c | 171 +++++++++++++++++++------------ post/post.c | 29 ++++-- post/tests.c | 13 +++ 12 files changed, 199 insertions(+), 75 deletions(-)