ARM: 8713/1: NOMMU: Support MPU in XIP configuration
[sfrench/cifs-2.6.git] / include / linux / efi-bgrt.h
1 #ifndef _LINUX_EFI_BGRT_H
2 #define _LINUX_EFI_BGRT_H
3
4 #include <linux/acpi.h>
5
6 #ifdef CONFIG_ACPI_BGRT
7
8 void efi_bgrt_init(struct acpi_table_header *table);
9 int __init acpi_parse_bgrt(struct acpi_table_header *table);
10
11 /* The BGRT data itself; only valid if bgrt_image != NULL. */
12 extern size_t bgrt_image_size;
13 extern struct acpi_table_bgrt bgrt_tab;
14
15 #else /* !CONFIG_ACPI_BGRT */
16
17 static inline void efi_bgrt_init(struct acpi_table_header *table) {}
18 static inline int __init acpi_parse_bgrt(struct acpi_table_header *table)
19 {
20         return 0;
21 }
22
23 #endif /* !CONFIG_ACPI_BGRT */
24
25 #endif /* _LINUX_EFI_BGRT_H */