AMD Hudson: Printf the high address as unsigned integer
Some 32 bit machines print integer higher than 0x80000000 as negative number. Change-Id: Ieb512ed2a7499ce7e91e45e4075d4f119780b57d Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1547 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
533bca80ed
commit
8d7369261e
|
@ -19,7 +19,7 @@ ramstage-$(CONFIG_HAVE_ACPI_RESUME) += spi.c
|
|||
# |0x55AA55AA |EC ROM Address |GEC ROM Address |USB3 ROM |
|
||||
# +-----------+---------------+----------------+------------+
|
||||
# EC ROM should be 64K aligned.
|
||||
HUDSON_FWM_POSITION=$(shell printf %d $(CONFIG_HUDSON_FWM_POSITION))
|
||||
HUDSON_FWM_POSITION=$(shell printf %u $(CONFIG_HUDSON_FWM_POSITION))
|
||||
|
||||
#assume the cbfs header is less than 128 bytes.
|
||||
ROMSIG_SIZE=16
|
||||
|
|
Loading…
Reference in New Issue