diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-16 16:57:50 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-30 09:57:44 +0000 |
commit | 07be67aa4b285add264359cb588dc8e465a7a831 (patch) | |
tree | d4ebd459a631bdc03d2f1c0fe2254fb19176af6c /src/soc/intel/common/block | |
parent | bcdb893778f857f310115522bbf7d70ad0cc017f (diff) | |
download | coreboot-07be67aa4b285add264359cb588dc8e465a7a831.tar.xz |
nb/amd/amdht: Use standard coreboot assertions
The amdht code currently relies on an idiosyncratic ASSERT() macro,
which actually doesn't do anything right now, and even it did would only
print a janky error message. Replace this with the normal ASSERT() macro
from <assert.h>. The default behaviour now is to print an error message
but do nothing else, and failed assertions will only halt if you enable
FATAL_ASSERT, in which case, well, you asked for it.
Change-Id: I6db7565171a345f9afbc9fb37cff8fda58f942df
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1402076
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34375
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/common/block')
0 files changed, 0 insertions, 0 deletions