| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <intelblocks/lpc_lib.h> |
| 4 | #include <soc/iomap.h> |
| 5 | #include <soc/pcr_ids.h> |
| 6 | #include <static.h> |
| 7 | |
| 8 | #include <chip.h> |
| 9 | |
| 10 | void soc_get_gen_io_dec_range(uint32_t gen_io_dec[LPC_NUM_GENERIC_IO_RANGES]) |
| 11 | { |
| 12 | const config_t *config = config_of_soc(); |
| 13 | |
| 14 | gen_io_dec[0] = config->gen1_dec; |
| 15 | gen_io_dec[1] = config->gen2_dec; |
| 16 | gen_io_dec[2] = config->gen3_dec; |
| 17 | gen_io_dec[3] = config->gen4_dec; |
| 18 | } |
| 19 | |
| 20 | void pch_lpc_soc_fill_io_resources(struct device *dev) |
| 21 | { |
| 22 | } |