diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2012-09-28 16:10:01 +0800 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-09-28 14:48:57 +0200 |
commit | 8d7369261ed012482e8b4f13849c566763944fee (patch) | |
tree | 06fcb615acb705c91eb9437e8de3a4eb9eadc377 | |
parent | 533bca80ed6d2b1f1947f10926b5a7415b1c3359 (diff) |
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>
-rw-r--r-- | src/southbridge/amd/agesa/hudson/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/Makefile.inc b/src/southbridge/amd/agesa/hudson/Makefile.inc index 6a47080bdf..4bd15230f1 100644 --- a/src/southbridge/amd/agesa/hudson/Makefile.inc +++ b/src/southbridge/amd/agesa/hudson/Makefile.inc @@ -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 |