diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-13 08:02:56 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-26 15:19:53 +0000 |
commit | ad5fab23620a25d53d358dbde5f005bbe955e77b (patch) | |
tree | 429593ba55873726e47448ab62577ca645770f63 /src/mainboard/lenovo/x60/smihandler.c | |
parent | ce34596f74aa1b2b9865061c6d2cdfa223f33222 (diff) |
device: Add fixed_io_range_flags() and helpers
Function fixed_io_resource() and alias io_resource() were
previously unused. Unlike previously, IORESOURCE_STORED flag
needs to be set by the caller, when necessary.
For fixed resources, fields alignment, granularity and
limit need not be initialised, as the resource cannot
be moved. It is assumed the caller provides valid base
and size parameters.
Change-Id: I8fb4cf2dee4f5193e5652648b63c0ecba7b8bab2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55458
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lenovo/x60/smihandler.c')
0 files changed, 0 insertions, 0 deletions