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:
parent
a0da5063ca
commit
64c0df58e2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue