Patrick Georgi | 593124d | 2020-05-10 19:44:08 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-2-Clause */ |
Eugene Myers | ae438be | 2020-01-21 17:01:47 -0500 | [diff] [blame] | 2 | |
3 | #ifndef _STM_PLATFORM_RESOURCE_H_ | ||||
4 | #define _STM_PLATFORM_RESOURCE_H_ | ||||
5 | |||||
6 | #define MASK0 0 | ||||
7 | #define MASK64 0xFFFFFFFFFFFFFFFFull | ||||
8 | |||||
9 | // LPC | ||||
10 | |||||
11 | #define LPC_DEVICE 31 | ||||
12 | #define LPC_FUNCTION 0 | ||||
13 | #define R_ACPI_PM_BASE 0x40 | ||||
14 | #define ACPI_PM_BASE_MASK 0xFFF8 | ||||
15 | |||||
16 | /* | ||||
17 | * Add resources to BIOS resource database. | ||||
18 | */ | ||||
19 | void add_resources_cmd(void); | ||||
20 | #endif |