Peng Fan | 5c2218a | 2021-08-07 16:00:31 +0800 | [diff] [blame] | 1 | /* 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 Fan | 7253016 | 2021-08-07 16:00:33 +0800 | [diff] [blame] | 11 | extern unsigned long rom_pointer[]; |
| 12 | |
Ye Li | 7a71c61 | 2021-08-07 16:00:39 +0800 | [diff] [blame] | 13 | ulong spl_romapi_raw_seekable_read(u32 offset, u32 size, void *buf); |
| 14 | ulong spl_romapi_get_uboot_base(u32 image_offset, u32 rom_bt_dev); |
Peng Fan | 7253016 | 2021-08-07 16:00:33 +0800 | [diff] [blame] | 15 | enum bt_mode get_boot_mode(void); |
Peng Fan | fe1bf87 | 2021-08-07 16:00:56 +0800 | [diff] [blame] | 16 | int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm); |
| 17 | int xrdc_config_pdac_openacc(u32 bridge, u32 index); |
Ye Li | 88044c7 | 2021-08-07 16:01:01 +0800 | [diff] [blame] | 18 | enum boot_device get_boot_device(void); |
Ye Li | 715cfa0 | 2021-10-29 09:46:23 +0800 | [diff] [blame] | 19 | void set_lpav_qos(void); |
Ye Li | 133f8b8 | 2021-10-29 09:46:25 +0800 | [diff] [blame] | 20 | void load_lposc_fuse(void); |
Ye Li | 2e9f15c | 2022-04-06 14:30:08 +0800 | [diff] [blame] | 21 | bool m33_image_booted(void); |
| 22 | int m33_image_handshake(ulong timeout_ms); |
Peng Fan | 5c2218a | 2021-08-07 16:00:31 +0800 | [diff] [blame] | 23 | #endif |