[coreboot-gerrit] Change in coreboot[master]: soc/intel/common: Make fixed width return type for soc_reserved_mmio_...

Subrata Banik (Code Review) gerrit at coreboot.org
Thu Oct 19 12:43:31 CEST 2017


Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/22108


Change subject: soc/intel/common: Make fixed width return type for soc_reserved_mmio_size()
......................................................................

soc/intel/common: Make fixed width return type for soc_reserved_mmio_size()

This patch make use of fixed width return type as uint64_t
rather using size_t

Change-Id: I4e59acd2e9503c548ef4868d9db9245835cc05f6
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/soc/intel/common/block/include/intelblocks/systemagent.h
M src/soc/intel/common/block/systemagent/systemagent.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/22108/1

diff --git a/src/soc/intel/common/block/include/intelblocks/systemagent.h b/src/soc/intel/common/block/include/intelblocks/systemagent.h
index 64b2c36..010bb08 100644
--- a/src/soc/intel/common/block/include/intelblocks/systemagent.h
+++ b/src/soc/intel/common/block/include/intelblocks/systemagent.h
@@ -105,6 +105,6 @@
 int soc_get_uncore_prmmr_base_and_mask(uint64_t *base, uint64_t *mask);
 
 /* SoC call to summarize all Intel Reserve MMIO size and report to SA */
-size_t soc_reserved_mmio_size(void);
+uint64_t soc_reserved_mmio_size(void);
 
 #endif	/* SOC_INTEL_COMMON_BLOCK_SA_H */
diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c
index 5be9fe1..a3538e5 100644
--- a/src/soc/intel/common/block/systemagent/systemagent.c
+++ b/src/soc/intel/common/block/systemagent/systemagent.c
@@ -43,7 +43,7 @@
 	return -1;
 }
 
-__attribute__((weak)) size_t soc_reserved_mmio_size(void)
+__attribute__((weak)) uint64_t soc_reserved_mmio_size(void)
 {
 	return 0;
 }

-- 
To view, visit https://review.coreboot.org/22108
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e59acd2e9503c548ef4868d9db9245835cc05f6
Gerrit-Change-Number: 22108
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171019/212fa03f/attachment.html>


More information about the coreboot-gerrit mailing list