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>
This commit is contained in:
Akihiko Odaki 2022-06-26 14:44:53 +09:00 committed by Elyes Haouas
parent a0da5063ca
commit 64c0df58e2
1 changed files with 1 additions and 1 deletions

View File

@ -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