[coreboot-gerrit] Change in coreboot[master]: device/pnp_device: rewrite pnp_get_ioresource

Felix Held (Code Review) gerrit at coreboot.org
Fri Jul 27 02:41:22 CEST 2018


Felix Held has uploaded a new patch set (#2). ( https://review.coreboot.org/27654 )

Change subject: device/pnp_device: rewrite pnp_get_ioresource
......................................................................

device/pnp_device: rewrite pnp_get_ioresource

The rewrite simplifies the code and fixes the limit on the case of IO
resources with the length of 1 byte.

This patch is inspired by the comment of Nico Huber on
Ia99b785dcd9cf56fb236ad7ade54656851f88a5e

If the ones in the mask aren't a continuous block, now a warning message gets
printed.

Change-Id: I0089278f5adf65e8f084580bc5bc1eb2f77b87f7
Signed-off-by: Felix Held <felix-coreboot at felixheld.de>
---
M src/device/pnp_device.c
1 file changed, 23 insertions(+), 32 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/27654/2
-- 
To view, visit https://review.coreboot.org/27654
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0089278f5adf65e8f084580bc5bc1eb2f77b87f7
Gerrit-Change-Number: 27654
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Held <felix-coreboot at felixheld.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180727/3cbca113/attachment.html>


More information about the coreboot-gerrit mailing list