From 64c0df58e29a1985dd358778615f70e240813877 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Sun, 26 Jun 2022 14:44:53 +0900 Subject: [PATCH] soc/amd/common/fsp/Makefile: Fix an error message It used to say "FSP-M binary larger than FSP_M_FILE", but FSP_M_FILE is the binary itself. The binary file size is actually compared with FSP_M_SIZE. Signed-off-by: Akihiko Odaki Change-Id: If58069944aea8e68117f2ee1d320726d8c6fdfc8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65440 Reviewed-by: Fred Reitberger Reviewed-by: Raul Rangel Reviewed-by: Felix Held Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/soc/amd/common/fsp/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/common/fsp/Makefile.inc b/src/soc/amd/common/fsp/Makefile.inc index 6f220a5f75..78e0e4fa3a 100644 --- a/src/soc/amd/common/fsp/Makefile.inc +++ b/src/soc/amd/common/fsp/Makefile.inc @@ -14,7 +14,7 @@ ifeq ($(call int-gt,\ $(call file-size,$(CONFIG_FSP_M_FILE))\ $(shell printf "%d" $(CONFIG_FSP_M_SIZE))),\ 1) -$(error FSP-M binary larger than FSP_M_FILE.) +$(error FSP-M binary larger than FSP_M_SIZE.) endif endif # CONFIG_ADD_FSP_BINARIES