summaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-07-05 15:43:19 -0400
committerFred Reitberger <reitbergerfred@gmail.com>2023-07-07 12:50:15 +0000
commite66ce2f4181b14ffe323e559805b2a5f97b0c1bd (patch)
treea56205a35072a6e1f151571ba8c72e4f727f419d /src/soc/amd/cezanne
parent8b42a05fed9764a718babbc2d77c0dd0437ebb6c (diff)
soc/amd/*/Makefile.inc: Use _tohex instead of printf
Use the _tohex function to convert values to hex instead of 'shell printf' TEST=timeless builds identical for grunt,dalboz,guybrush,chausie,birman Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: Ic7f7d1b764479088cc0980b208d8d603bc712832 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76314 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/cezanne')
-rw-r--r--src/soc/amd/cezanne/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/cezanne/Makefile.inc b/src/soc/amd/cezanne/Makefile.inc
index c4b23d1b3a..2908674774 100644
--- a/src/soc/amd/cezanne/Makefile.inc
+++ b/src/soc/amd/cezanne/Makefile.inc
@@ -219,7 +219,7 @@ $(obj)/amdfw.rom: $(call strip_quotes, $(PSP_BIOSBIN_FILE)) \
$(OPT_APOB_NV_BASE) \
$(OPT_VERSTAGE_FILE) \
$(OPT_VERSTAGE_SIG_FILE) \
- --location $(shell printf "%#x" $(CEZANNE_FWM_POSITION)) \
+ --location $(call _tohex,$(CEZANNE_FWM_POSITION)) \
--multilevel \
--output $@
@@ -236,7 +236,7 @@ $(obj)/amdfw_a.rom: $(obj)/amdfw.rom
$(AMDFW_COMMON_ARGS) \
$(OPT_APOB_NV_SIZE) \
$(OPT_APOB_NV_BASE) \
- --location $(shell printf "%#x" $(CEZANNE_FW_A_POSITION)) \
+ --location $(call _tohex,$(CEZANNE_FW_A_POSITION)) \
--anywhere \
--multilevel \
--output $@
@@ -248,7 +248,7 @@ $(obj)/amdfw_b.rom: $(obj)/amdfw.rom
$(AMDFW_COMMON_ARGS) \
$(OPT_APOB_NV_SIZE) \
$(OPT_APOB_NV_BASE) \
- --location $(shell printf "%#x" $(CEZANNE_FW_B_POSITION)) \
+ --location $(call _tohex,$(CEZANNE_FW_B_POSITION)) \
--anywhere \
--multilevel \
--output $@