blob: 74d39197b89f4e769299b06214c26ee829ecdce0 [file] [log] [blame]
Caleb Connolly06db7f92024-04-03 14:07:45 +02001// SPDX-License-Identifier: GPL-2.0
2
3#ifndef __QCOM_PRIV_H__
4#define __QCOM_PRIV_H__
5
Caleb Connollyb10b4c02024-10-12 15:57:19 +02006#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
7void qcom_configure_capsule_updates(void);
8#else
9void qcom_configure_capsule_updates(void) {}
10#endif /* EFI_HAVE_CAPSULE_SUPPORT */
11
Caleb Connolly06db7f92024-04-03 14:07:45 +020012#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 */
18void qcom_of_fixup_nodes(void);
19#else
20static 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__ */