commit | 7d89264cdf7944004165ad79cb439803a73f4b49 | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Sat Jul 16 09:49:53 2022 +0200 |
committer | Martin L Roth <gaumless@tutanota.com> | Sun Jul 17 22:01:20 2022 +0000 |
tree | 4d25363c493f4ac848b9c25a3170d3cad793ddf0 | |
parent | 644a67c1162a340303c8c800c30946c87e62ce4e [diff] [blame] |
sb/amd/agesa: Fix some white spaces issues Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I1497c7589570b8ff3873149a0fb212bad96ad432 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65902 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/src/southbridge/amd/agesa/hudson/lpc.c b/src/southbridge/amd/agesa/hudson/lpc.c index fd710ab..2efc5bc 100644 --- a/src/southbridge/amd/agesa/hudson/lpc.c +++ b/src/southbridge/amd/agesa/hudson/lpc.c
@@ -244,7 +244,7 @@ default: rsize = 0; /* try AGESA allocated region in region 0 */ - if ((var_num > 0) && ((base >=reg_var[0]) && + if ((var_num > 0) && ((base >= reg_var[0]) && ((base + res->size) <= (reg_var[0] + reg_size[0])))) rsize = reg_size[0]; }