diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-11 19:31:22 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-26 15:19:14 +0000 |
commit | ce34596f74aa1b2b9865061c6d2cdfa223f33222 (patch) | |
tree | 65f4dfbb97e1d53f9ede2d23c56ae7b6e6d7db4c /src/mainboard/lenovo/t410 | |
parent | 508c290bb58f845384d1de6d9fb0619d3d46098f (diff) |
device: Add fixed_mem_range_flags() and helpers
Unlike fixed_mem_resource_kb() the arguments are not in KiB.
This allows coccinelle script to assign the base and size
without applying the KiB division or 10 bit right-shift.
Unlike with fixed_mem_resource_kb() the IORESOURCE_STORED flag is
passed in the flags parameter until some inconsistencies in the tree
get resolved.
Change-Id: I2cc9ef94b60d62aaf4374f400b7e05b86e4664d2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55436
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lenovo/t410')
0 files changed, 0 insertions, 0 deletions