| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef _EDK2_CAPSULES_H_ |
| 4 | #define _EDK2_CAPSULES_H_ |
| 5 | |
| 6 | #if CONFIG(DRIVERS_EFI_UPDATE_CAPSULES) |
| 7 | |
| 8 | void efi_parse_capsules(void); |
| 9 | |
| 10 | void efi_add_capsules_to_bootmem(void); |
| 11 | |
| 12 | #else |
| 13 | |
| 14 | static inline void efi_parse_capsules(void) { } |
| 15 | |
| 16 | static inline void efi_add_capsules_to_bootmem(void) { } |
| 17 | |
| 18 | #endif |
| 19 | |
| 20 | #endif /* _EDK2_CAPSULES_H_ */ |