summaryrefslogtreecommitdiff
path: root/src/cpu/amd/smm
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-05-29 15:44:11 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-07-19 17:28:32 +0000
commit287048a500c44d1880d8def8c42ade83046a687d (patch)
tree9c1e3e109f000dfb58f7206609aefc1d2e13bc2d /src/cpu/amd/smm
parenta3214c050e212d89dcc244741351e0fb715520e0 (diff)
cpu/amd: Reformat code
Most of these changes are suggested by clang-format(13.0-54) tool on Debian testing. Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Ie4fe0e872e94f38079945970848fefd153ab7cb5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64782 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@tutanota.com>
Diffstat (limited to 'src/cpu/amd/smm')
-rw-r--r--src/cpu/amd/smm/smm_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/amd/smm/smm_init.c b/src/cpu/amd/smm/smm_init.c
index 71cca82b23..75dd45064d 100644
--- a/src/cpu/amd/smm/smm_init.c
+++ b/src/cpu/amd/smm/smm_init.c
@@ -43,8 +43,7 @@ void smm_init(void)
enable_cache();
/* copy the real SMM handler */
- memcpy((void *)SMM_BASE, _binary_smm_start,
- _binary_smm_end - _binary_smm_start);
+ memcpy((void *)SMM_BASE, _binary_smm_start, _binary_smm_end - _binary_smm_start);
wbinvd();
disable_cache();