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 COFNIG_POST_EXTERNAL_WORD_FUNCS to an individual patch - moved memory test configuration for km_arm from post to board code 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 | 32 ++++++ include/configs/km/km_arm.h | 8 ++- include/post.h | 10 ++ post/drivers/memory.c | 173 +++++++++++++++++++----------- post/post.c | 29 ++++-- post/tests.c | 15 +++- 12 files changed, 203 insertions(+), 75 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot