diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2018-07-27 02:31:09 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-07-29 15:06:10 +0000 |
commit | f2ec648fcb6f17382293cbcc69e46c485ee3b786 (patch) | |
tree | ef7e792c2151f825051065a6b1b220404b00d38b /util | |
parent | 66ce18c508ffff42d290d4316b72d5fd153f8260 (diff) |
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@felixheld.de>
Reviewed-on: https://review.coreboot.org/27654
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions