summaryrefslogtreecommitdiff
path: root/src/cpu/dmp
diff options
context:
space:
mode:
authorAndrew Wu <arw@dmp.com.tw>2013-10-24 20:37:48 +0800
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-11-30 20:18:06 +0100
commit1fefa84405090ef659e561809a043febbef997a9 (patch)
tree46d53fc7cd95b71e4dcedd6aa17a8b051218e4c4 /src/cpu/dmp
parentf55f51a5606ece66676da0423cb2c61081a28f62 (diff)
downloadcoreboot-1fefa84405090ef659e561809a043febbef997a9.tar.xz
dmp/vortex86ex: Add timeout for keyboard system flag checking.
If Vortex86EX PS/2 keyboard controller system flag bit times out, reload controller firmware code and try again. Abort and die after 11 tries as this means the CPU is defect. Also inform the user by printing a message. Change-Id: I24aec4b20d85c721c01e72686f3eb1259f9334b8 Signed-off-by: Andrew Wu <arw@dmp.com.tw> Reviewed-on: http://review.coreboot.org/3988 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu/dmp')
-rw-r--r--src/cpu/dmp/dmp_post_code.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/dmp/dmp_post_code.h b/src/cpu/dmp/dmp_post_code.h
index 6658ce8b02..f699171a44 100644
--- a/src/cpu/dmp/dmp_post_code.h
+++ b/src/cpu/dmp/dmp_post_code.h
@@ -25,6 +25,7 @@
#define POST_DMP_KBD_FW_UPLOAD 0x06
#define POST_DMP_KBD_CHK_READY 0x07
#define POST_DMP_KBD_IS_READY 0x08
+#define POST_DMP_KBD_IS_BAD 0x09
#define POST_DMP_KBD_FW_VERIFY_ERR 0x82
#define POST_DMP_ID_ERR 0x85
#define POST_DMP_DRAM_TEST_ERR 0x86