[U-Boot] [PATCH 0/8 RFC] POST: support for km_arm and mem_regions test definition

Valentin Longchamp
2011-08-03T12:36:59Z

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.

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 | 11 ++
include/configs/km/km_arm.h | 10 ++-
include/post.h | 7 ++
post/board/km_arm/Makefile | 29 +++++
post/board/km_arm/memory.c | 37 +++++++
post/drivers/memory.c | 171 +++++++++++++++++++------------
post/post.c | 29 ++++--
post/tests.c | 14 +++
14 files changed, 244 insertions(+), 75 deletions(-)
create mode 100644 post/board/km_arm/Makefile
create mode 100644 post/board/km_arm/memory.c