blob: 0a7ed5eff8b867bed9dd2ca570f65fea1821fca3 [file] [log] [blame]
Caleb Connolly2983ae82024-04-03 14:07:45 +02001// SPDX-License-Identifier: GPL-2.0
2
3#ifndef __QCOM_PRIV_H__
4#define __QCOM_PRIV_H__
5
6#if CONFIG_IS_ENABLED(OF_LIVE)
7/**
8 * qcom_of_fixup_nodes() - Fixup Qualcomm DT nodes
9 *
10 * Adjusts nodes in the live tree to improve compatibility with U-Boot.
11 */
12void qcom_of_fixup_nodes(void);
13#else
14static inline void qcom_of_fixup_nodes(void)
15{
16 log_debug("Unable to dynamically fixup USB nodes, please enable CONFIG_OF_LIVE\n");
17}
18#endif /* OF_LIVE */
19
20#endif /* __QCOM_PRIV_H__ */