]> git.sur5r.net Git - u-boot/commit
kmp204x: selftest/factory test pin support
authorValentin Longchamp <valentin.longchamp@keymile.com>
Wed, 30 Apr 2014 13:01:44 +0000 (15:01 +0200)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:26:55 +0000 (08:26 -0700)
commit18794944c6f60b912db8509012d10793f35586ae
tree7a630dabc61ddc53b10ba0d9b08bd96da3324d13
parent4921a149e1470d92e2982e13c709357d90ef5e6c
kmp204x: selftest/factory test pin support

This patch defines the post_hotkeys_pressed() function that is used for:
- triggering POST memory regions test
- starting the test application through the checktestboot command in
  a script by setting the active bank to testbank

The post_hotkeys_pressed return the state of the SELFTEST pin.

The patch moves from the complete POST-memory test that is too long in
its SLOW version for our production HW test procedure to the much shorter
POST-memory-regions test.

Finally, the unused #defines for the not so relevant mtest command are
removed.

Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/kmp204x/kmp204x.c
include/configs/km/kmp204x-common.h