2021-08-07 08:00:31 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright 2021 NXP
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARCH_IMX8ULP_SYS_PROTO_H
|
|
|
|
#define __ARCH_NMX8ULP_SYS_PROTO_H
|
|
|
|
|
|
|
|
#include <asm/mach-imx/sys_proto.h>
|
|
|
|
|
2021-08-07 08:00:33 +00:00
|
|
|
extern unsigned long rom_pointer[];
|
|
|
|
|
2021-08-07 08:00:39 +00:00
|
|
|
ulong spl_romapi_raw_seekable_read(u32 offset, u32 size, void *buf);
|
|
|
|
ulong spl_romapi_get_uboot_base(u32 image_offset, u32 rom_bt_dev);
|
2021-08-07 08:00:33 +00:00
|
|
|
enum bt_mode get_boot_mode(void);
|
2021-08-07 08:00:56 +00:00
|
|
|
int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm);
|
|
|
|
int xrdc_config_pdac_openacc(u32 bridge, u32 index);
|
2021-08-07 08:01:01 +00:00
|
|
|
enum boot_device get_boot_device(void);
|
2021-10-29 01:46:23 +00:00
|
|
|
void set_lpav_qos(void);
|
2021-10-29 01:46:25 +00:00
|
|
|
void load_lposc_fuse(void);
|
2022-04-06 06:30:08 +00:00
|
|
|
bool m33_image_booted(void);
|
|
|
|
int m33_image_handshake(ulong timeout_ms);
|
2021-08-07 08:00:31 +00:00
|
|
|
#endif
|