From 30fce518f65335f66b53189a55638b26a1fdbe3a Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sun, 17 Jul 2022 10:51:41 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65930 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Elyes Haouas --- src/southbridge/amd/cimx/sb800/AmdSbLib.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/southbridge/amd/cimx/sb800') 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 -- cgit v1.2.3