2021-08-07 16:00:31 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright 2021 NXP
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARCH_IMX8ULP_SYS_PROTO_H
|
2023-05-15 14:52:10 +01:00
|
|
|
#define __ARCH_IMX8ULP_SYS_PROTO_H
|
2021-08-07 16:00:31 +08:00
|
|
|
|
|
|
|
#include <asm/mach-imx/sys_proto.h>
|
|
|
|
|
2021-08-07 16:00:33 +08:00
|
|
|
enum bt_mode get_boot_mode(void);
|
2021-08-07 16:00:56 +08:00
|
|
|
int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm);
|
|
|
|
int xrdc_config_pdac_openacc(u32 bridge, u32 index);
|
2021-10-29 09:46:23 +08:00
|
|
|
void set_lpav_qos(void);
|
2021-10-29 09:46:25 +08:00
|
|
|
void load_lposc_fuse(void);
|
2022-04-06 14:30:08 +08:00
|
|
|
bool m33_image_booted(void);
|
2023-01-31 16:42:17 +08:00
|
|
|
bool is_m33_handshake_necessary(void);
|
2022-04-06 14:30:08 +08:00
|
|
|
int m33_image_handshake(ulong timeout_ms);
|
2023-01-31 16:42:13 +08:00
|
|
|
int imx8ulp_dm_post_init(void);
|
2021-08-07 16:00:31 +08:00
|
|
|
#endif
|