mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 08:43:07 +00:00
a8753afed7
To support on-demand booting M33 image from A core. SPL needs to follow M33 kick up sequence to release M33 firstly, then set M33 CPUWAIT signal. ATF will clear CPUWAIT to kick M33 to run. The prepare function also works around the M33 TCM ECC issue by clean the TCM. Also enable sentinel handshake and WDOG1 clock for M33 stop and reset. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
14 lines
263 B
C
14 lines
263 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2022 NXP
|
|
*/
|
|
|
|
#ifndef __ARCH_IMX9_SYS_PROTO_H
|
|
#define __ARCH_NMX9_SYS_PROTO_H
|
|
|
|
#include <asm/mach-imx/sys_proto.h>
|
|
|
|
void soc_power_init(void);
|
|
bool m33_is_rom_kicked(void);
|
|
int m33_prepare(void);
|
|
#endif
|