[U-Boot] [PATCH v2 0/8] POST: support for km_arm and mem_regions test definition
Valentin Longchamp
valentin.longchamp at keymile.com
Thu Sep 1 17:39:19 CEST 2011
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.
Valentin Longchamp (8):
POST/arm: adaptations needed for POST on ARM to work
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
POST/km_arm: add POST memory tests infrastructure
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 | 22 ++++
include/configs/km/km_arm.h | 8 ++-
include/post.h | 10 ++
post/board/km_arm/Makefile | 29 +++++
post/board/km_arm/memory.c | 35 ++++++
post/drivers/memory.c | 173 +++++++++++++++++++-----------
post/post.c | 29 ++++--
post/tests.c | 14 +++
14 files changed, 257 insertions(+), 74 deletions(-)
create mode 100644 post/board/km_arm/Makefile
create mode 100644 post/board/km_arm/memory.c
More information about the U-Boot
mailing list