mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 17:23:09 +00:00
ba472a209b
Since S400 will set the memory of SPL image to R/X. We can't write to any data in SPL image. 1. Set the parameters save/restore only for u-boot, not for SPL. to avoid write data. 2. Not use MU DM driver but directly call MU API to send release XRDC to S400 at early phase. 3. Configure the SPL image memory of SRAM2 to writable (R/W/X) Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
12 lines
282 B
C
12 lines
282 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2021 NXP
|
|
*/
|
|
|
|
#ifndef __IMX8ULP_MU_HAL_H__
|
|
#define __IMX8ULP_MU_HAL_H__
|
|
|
|
void mu_hal_init(ulong base);
|
|
int mu_hal_sendmsg(ulong base, u32 reg_index, u32 msg);
|
|
int mu_hal_receivemsg(ulong base, u32 reg_index, u32 *msg);
|
|
#endif
|