diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-07-17 10:51:41 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-18 11:21:52 +0000 |
commit | 30fce518f65335f66b53189a55638b26a1fdbe3a (patch) | |
tree | 87028a9fee71a5639cbdd6bfc37925db4e308857 /src/southbridge | |
parent | 616be8cd1fbdfa77caa02fa77eabe7b9edc9dc36 (diff) |
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>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/cimx/sb800/AmdSbLib.h | 1 |
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 694fffd973..70c0b3e213 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 |