summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@gmail.com>2022-06-26 14:44:53 +0900
committerElyes Haouas <ehaouas@noos.fr>2023-01-10 15:17:09 +0000
commit64c0df58e29a1985dd358778615f70e240813877 (patch)
tree485bea05154d5948841e0fb7a761d0ff10cf405d
parenta0da5063cac2ffa7a8efecf241d3a6ac36923a74 (diff)
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 <akihiko.odaki@gmail.com> Change-Id: If58069944aea8e68117f2ee1d320726d8c6fdfc8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65440 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
-rw-r--r--src/soc/amd/common/fsp/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
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