mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-29 01:51:55 +00:00
stm32mp1: remove copro_state environment variable
Since the coprocessor state is tracked in a backup register, there is no more need for tracking it in an environment variable : remove it. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Acked-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
4a4deb870f
commit
790d5b3670
1 changed files with 1 additions and 3 deletions
|
@ -1096,10 +1096,8 @@ static void board_copro_image_process(ulong fw_image, size_t fw_size)
|
||||||
printf("Load Remote Processor %d with data@addr=0x%08lx %u bytes:%s\n",
|
printf("Load Remote Processor %d with data@addr=0x%08lx %u bytes:%s\n",
|
||||||
id, fw_image, fw_size, ret ? " Failed!" : " Success!");
|
id, fw_image, fw_size, ret ? " Failed!" : " Success!");
|
||||||
|
|
||||||
if (!ret) {
|
if (!ret)
|
||||||
rproc_start(id);
|
rproc_start(id);
|
||||||
env_set("copro_state", "booted");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_COPRO, board_copro_image_process);
|
U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_COPRO, board_copro_image_process);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue