From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web12.36018.1602490443161161837 for ; Mon, 12 Oct 2020 01:14:03 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: chinni.b.duggapu@intel.com) IronPort-SDR: jSdFIwJMzE5Xp1za3qDfyEvs/K68v1K8di6r1q4fq+ndNmu/IN/dN+ERHLW5q7Xuv2Ipn5mbl2 ru8FQapm4kug== X-IronPort-AV: E=McAfee;i="6000,8403,9771"; a="145026594" X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="145026594" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 01:14:01 -0700 IronPort-SDR: xTheyCik/WZ81RfiWNm5DTfmWDLBt+pUFe0fFoWgUXR0ve9XxqZWA5M008HigZXObbNwAHRyea 5xbVPDIlTITQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="529863516" Received: from cbduggap-desk.gar.corp.intel.com ([10.66.179.79]) by orsmga005.jf.intel.com with ESMTP; 12 Oct 2020 01:13:58 -0700 From: "cbduggap" To: devel@edk2.groups.io Cc: cbduggap , Bob Feng , Liming Gao , Liu, Zhiguang Subject: [Patch V2 1/1] [BUG FIX] Tools\FitGen: Add extra parameter to input the Top Flash Address Date: Mon, 12 Oct 2020 13:43:55 +0530 Message-Id: <20201012081355.14606-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..4ec7c73725 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%lx\n", gFitTableContext.TopFlashAd= dressRemapValue);=0D //=0D // 0.4 Clear FIT table related memory=0D //=0D --=20 2.26.2.windows.1