diff mbox

[05/21] Add in bit masks for FACS flags.

Message ID 1454981583-31872-6-git-send-email-al.stone@linaro.org
State Rejected
Headers show

Commit Message

Al Stone Feb. 9, 2016, 1:32 a.m. UTC
These bit masks were simply missing but will be needed to verify some
of the FADT information.

Signed-off-by: Al Stone <al.stone@linaro.org>
---
 src/lib/include/fwts_acpi.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Colin Ian King Feb. 9, 2016, 11:52 a.m. UTC | #1
On 09/02/16 01:32, Al Stone wrote:
> These bit masks were simply missing but will be needed to verify some
> of the FADT information.
> 
> Signed-off-by: Al Stone <al.stone@linaro.org>
> ---
>  src/lib/include/fwts_acpi.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 8f80286..bab62ec 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -68,6 +68,10 @@
>  #define FWTS_FACP_ARM_BOOT_ARCH_PSCI_USE_HVC		(0x0002)
>  #define FWTS_FACP_ARM_BOOT_ARCH_RESERVED_MASK		(0xfffc)
>  
> +#define FWTS_FACS_FLAG_S4BIOS_F				(0x00000001)
> +#define FWTS_FACS_FLAG_64BIT_WAKE_SUPPORTED		(0x00000002)
> +#define FWTS_FACS_FLAG_RESERVED				(0xfffffffc)
> +
>  #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_MEMORY	(0x00)
>  #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_IO	(0x01)
>  #define FWTS_GAS_ADDR_SPACE_ID_PCI_CONFIG	(0x02)
> 
Acked-by: Colin Ian King <colin.king@canonucal.com>
Alex Hung Feb. 17, 2016, 5:22 a.m. UTC | #2
On 2016-02-09 09:32 AM, Al Stone wrote:
> These bit masks were simply missing but will be needed to verify some
> of the FADT information.
>
> Signed-off-by: Al Stone <al.stone@linaro.org>
> ---
>   src/lib/include/fwts_acpi.h | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 8f80286..bab62ec 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -68,6 +68,10 @@
>   #define FWTS_FACP_ARM_BOOT_ARCH_PSCI_USE_HVC		(0x0002)
>   #define FWTS_FACP_ARM_BOOT_ARCH_RESERVED_MASK		(0xfffc)
>
> +#define FWTS_FACS_FLAG_S4BIOS_F				(0x00000001)
> +#define FWTS_FACS_FLAG_64BIT_WAKE_SUPPORTED		(0x00000002)
> +#define FWTS_FACS_FLAG_RESERVED				(0xfffffffc)
> +
>   #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_MEMORY	(0x00)
>   #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_IO	(0x01)
>   #define FWTS_GAS_ADDR_SPACE_ID_PCI_CONFIG	(0x02)
>

Acked-by: Alex Hung <alex.hung@canonical.com>
diff mbox

Patch

diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
index 8f80286..bab62ec 100644
--- a/src/lib/include/fwts_acpi.h
+++ b/src/lib/include/fwts_acpi.h
@@ -68,6 +68,10 @@ 
 #define FWTS_FACP_ARM_BOOT_ARCH_PSCI_USE_HVC		(0x0002)
 #define FWTS_FACP_ARM_BOOT_ARCH_RESERVED_MASK		(0xfffc)
 
+#define FWTS_FACS_FLAG_S4BIOS_F				(0x00000001)
+#define FWTS_FACS_FLAG_64BIT_WAKE_SUPPORTED		(0x00000002)
+#define FWTS_FACS_FLAG_RESERVED				(0xfffffffc)
+
 #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_MEMORY	(0x00)
 #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_IO	(0x01)
 #define FWTS_GAS_ADDR_SPACE_ID_PCI_CONFIG	(0x02)