Caleb Connolly | 06db7f9 | 2024-04-03 14:07:45 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | #ifndef __QCOM_PRIV_H__ |
| 4 | #define __QCOM_PRIV_H__ |
| 5 | |
Caleb Connolly | b10b4c0 | 2024-10-12 15:57:19 +0200 | [diff] [blame^] | 6 | #if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) |
| 7 | void qcom_configure_capsule_updates(void); |
| 8 | #else |
| 9 | void qcom_configure_capsule_updates(void) {} |
| 10 | #endif /* EFI_HAVE_CAPSULE_SUPPORT */ |
| 11 | |
Caleb Connolly | 06db7f9 | 2024-04-03 14:07:45 +0200 | [diff] [blame] | 12 | #if CONFIG_IS_ENABLED(OF_LIVE) |
| 13 | /** |
| 14 | * qcom_of_fixup_nodes() - Fixup Qualcomm DT nodes |
| 15 | * |
| 16 | * Adjusts nodes in the live tree to improve compatibility with U-Boot. |
| 17 | */ |
| 18 | void qcom_of_fixup_nodes(void); |
| 19 | #else |
| 20 | static inline void qcom_of_fixup_nodes(void) |
| 21 | { |
| 22 | log_debug("Unable to dynamically fixup USB nodes, please enable CONFIG_OF_LIVE\n"); |
| 23 | } |
| 24 | #endif /* OF_LIVE */ |
| 25 | |
| 26 | #endif /* __QCOM_PRIV_H__ */ |