summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2022-07-17 10:51:41 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-07-18 11:21:52 +0000
commit30fce518f65335f66b53189a55638b26a1fdbe3a (patch)
tree87028a9fee71a5639cbdd6bfc37925db4e308857
parent616be8cd1fbdfa77caa02fa77eabe7b9edc9dc36 (diff)
downloadcoreboot-30fce518f65335f66b53189a55638b26a1fdbe3a.tar.gz
coreboot-30fce518f65335f66b53189a55638b26a1fdbe3a.tar.bz2
coreboot-30fce518f65335f66b53189a55638b26a1fdbe3a.zip
sb/amd/cimx/sb800: Remove unused and unsafe macro
The `IMAGE_ALIGN` macro is unsafe because its value is compound and is not enclosed in parentheses, which can cause operation order problems. However, as this macro is unused, remove it instead of fixing it. Change-Id: I099c291f44d5a2c9d32c9ff071374016ed27eee8 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65930 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
-rw-r--r--src/southbridge/amd/cimx/sb800/AmdSbLib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/southbridge/amd/cimx/sb800/AmdSbLib.h b/src/southbridge/amd/cimx/sb800/AmdSbLib.h
index 694fffd97301..70c0b3e213af 100644
--- a/src/southbridge/amd/cimx/sb800/AmdSbLib.h
+++ b/src/southbridge/amd/cimx/sb800/AmdSbLib.h
@@ -7,7 +7,6 @@
#pragma pack(push, 1)
-#define IMAGE_ALIGN 32 * 1024
#define NUM_IMAGE_LOCATION 32
//Entry Point Call