diff options
author | Marc Jones <marcjones@sysproconsulting.com> | 2020-10-11 13:58:58 -0600 |
---|---|---|
committer | Marc Jones <marc@marcjonesconsulting.com> | 2020-10-30 17:12:10 +0000 |
commit | 0262ffa85cfdbe5a88fef55b105556dc758592f8 (patch) | |
tree | a018137981af89c893a46c87f4c5790ea90776d1 /src/soc/intel/xeon_sp/util.c | |
parent | e1a7a26f5e8bcc95d94ae9aec8df5b5226a77f56 (diff) |
soc/intel/xeon_sp/skx: Add resource allocator helpers
Add and use resource allocator helper functions from cpx. It also
simplifies the allocator by removing IORESOURCE_PCI64 from the resource
type check. It isn't needed since it is an attribute of IO and MEM and
will be added with the appropriate type.
This clean up matches CPX and will help with merging in the future.
Change-Id: I5812b07ba00eeafb4d1e826e9cdf9a659b0248bb
Signed-off-by: Marc Jones <marcjones@sysproconsulting.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46306
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/xeon_sp/util.c')
0 files changed, 0 insertions, 0 deletions