blob: 5bbae21e37c7e9ac0305c589a0b769395c36fa91 [file] [log] [blame]
Peng Fan5c2218a2021-08-07 16:00:31 +08001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2021 NXP
4 */
5
6#ifndef __ARCH_IMX8ULP_SYS_PROTO_H
7#define __ARCH_NMX8ULP_SYS_PROTO_H
8
9#include <asm/mach-imx/sys_proto.h>
10
Peng Fan72530162021-08-07 16:00:33 +080011enum bt_mode get_boot_mode(void);
Peng Fanfe1bf872021-08-07 16:00:56 +080012int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm);
13int xrdc_config_pdac_openacc(u32 bridge, u32 index);
Ye Li715cfa02021-10-29 09:46:23 +080014void set_lpav_qos(void);
Ye Li133f8b82021-10-29 09:46:25 +080015void load_lposc_fuse(void);
Ye Li2e9f15c2022-04-06 14:30:08 +080016bool m33_image_booted(void);
Ye Li80b33152023-01-31 16:42:17 +080017bool is_m33_handshake_necessary(void);
Ye Li2e9f15c2022-04-06 14:30:08 +080018int m33_image_handshake(ulong timeout_ms);
Ye Lid5ffe552023-01-31 16:42:13 +080019int imx8ulp_dm_post_init(void);
Peng Fan5c2218a2021-08-07 16:00:31 +080020#endif