diff options
author | Martin Roth <gaumless@gmail.com> | 2022-12-31 16:40:58 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-01-07 03:31:41 +0000 |
commit | fbd13a84cf0d02a42188c00cf68f40b2b00af9d0 (patch) | |
tree | 8488558ef29cc76228c3e539b613c65836b8c2e3 /src/commonlib/include | |
parent | 4c3014feb276cd14ce4fbea4f75d7b0952841cf3 (diff) |
vc/google: Add and use POST_CODE_CLEAR definition
The CR50 code clears the post code value. Add this as a #define.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: If3b73a3159ac8ac9ab08c6ff705b0ca289ab453c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71592
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jon Murphy <jpmurphy@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/commonlib/include')
-rw-r--r-- | src/commonlib/include/commonlib/console/post_codes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commonlib/include/commonlib/console/post_codes.h b/src/commonlib/include/commonlib/console/post_codes.h index d838815fa2..ef296bda49 100644 --- a/src/commonlib/include/commonlib/console/post_codes.h +++ b/src/commonlib/include/commonlib/console/post_codes.h @@ -28,6 +28,12 @@ #define POST_CODES_H /** + * \brief Not an actual post-code - used to clear port80h + * + */ +#define POST_CODE_CLEAR 0x00 + +/** * \brief Entry into 'crt0.s'. reset code jumps to here * * First instruction that gets executed after the reset vector jumps. |