cbmem_top: Change the return value to uintptr_t
Change-Id: Ib757c0548f6f643747ba8d70228b3d6dfa5182cd Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82752 Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Reviewed-by: Jakub Czapiga <czapiga@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
a9997f891f
commit
e7fa24470d
39 changed files with 61 additions and 85 deletions
|
|
@ -570,7 +570,7 @@ void pci_domain_read_resources(struct device *dev)
|
|||
* one big range from cbmem_top to the configured limit.
|
||||
*/
|
||||
res = new_resource(dev, IOINDEX_SUBTRACTIVE(1, 0));
|
||||
res->base = (uintptr_t)cbmem_top();
|
||||
res->base = cbmem_top();
|
||||
res->limit = CONFIG_DOMAIN_RESOURCE_32BIT_LIMIT - 1;
|
||||
res->flags = IORESOURCE_MEM | IORESOURCE_SUBTRACTIVE |
|
||||
IORESOURCE_ASSIGNED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue