diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-07-16 09:49:53 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-07-17 22:01:20 +0000 |
commit | 7d89264cdf7944004165ad79cb439803a73f4b49 (patch) | |
tree | 4d25363c493f4ac848b9c25a3170d3cad793ddf0 /src/southbridge/amd/agesa/hudson/lpc.c | |
parent | 644a67c1162a340303c8c800c30946c87e62ce4e (diff) |
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>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/lpc.c')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/lpc.c b/src/southbridge/amd/agesa/hudson/lpc.c index fd710ab861..2efc5bc2a5 100644 --- a/src/southbridge/amd/agesa/hudson/lpc.c +++ b/src/southbridge/amd/agesa/hudson/lpc.c @@ -244,7 +244,7 @@ static void hudson_lpc_enable_childrens_resources(struct device *dev) 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]; } |