From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.35989.1602491530403421597 for ; Mon, 12 Oct 2020 01:32:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: chinni.b.duggapu@intel.com) IronPort-SDR: MLeGX0ms1D8FFZ6WIdqoMmNNTD7swWYPRbNDUDw8QEockT0jj06EgVTooK8Ks0l3BThgissESk XubKx4kAp8+A== X-IronPort-AV: E=McAfee;i="6000,8403,9771"; a="250401099" X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="250401099" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 01:32:09 -0700 IronPort-SDR: i/w74TyuG2wwqPeBbaW3cv+/mfXV+9gCWaer+OaLz8UOL1yHIHYtHejvPM1heTzodd2Selnwvu HQGIwhW9JP+A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="420160253" Received: from cbduggap-desk.gar.corp.intel.com ([10.66.179.79]) by fmsmga001.fm.intel.com with ESMTP; 12 Oct 2020 01:32:07 -0700 From: "cbduggap" To: devel@edk2.groups.io Cc: cbduggap , Bob Feng , Liming Gao , Liu, Zhiguang Subject: [Patch V3 1/1] [BUG FIX] Tools\FitGen: Add extra parameter to input the Top Flash Address Date: Mon, 12 Oct 2020 14:02:03 +0530 Message-Id: <20201012083203.14673-1-chinni.b.duggapu@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2981 Add extra parameter to the Fit Gen Tool to input the Top Flash Address. Default Address should be 4GB and if some one inputs new address, tool must consume that address instead of Default address (4GB). Signed-off-by: cbduggap Cc: Bob Feng Cc: Liming Gao Cc: Liu, Zhiguang Signed-off-by: cbduggap --- Silicon/Intel/Tools/FitGen/FitGen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Intel/Tools/FitGen/FitGen.c b/Silicon/Intel/Tools/FitG= en/FitGen.c index febeb008fe..e9541c1e95 100644 --- a/Silicon/Intel/Tools/FitGen/FitGen.c +++ b/Silicon/Intel/Tools/FitGen/FitGen.c @@ -1004,7 +1004,7 @@ Returns: //=0D gFitTableContext.TopFlashAddressRemapValue =3D 0x100000000;=0D }=0D - printf ("Top Flash Address Value : 0x%llx\n", gFitTableContext.TopFlashA= ddressRemapValue);=0D + printf ("Top Flash Address Value : 0x%llx\n", (unsigned long long) gFitT= ableContext.TopFlashAddressRemapValue);=0D //=0D // 0.4 Clear FIT table related memory=0D //=0D --=20 2.26.2.windows.1