diff options
author | Fabien Dessenne <fabien.dessenne@st.com> | 2019-10-30 16:38:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-07 19:13:25 +0300 |
commit | 790d5b367025921c1c520eba280b1bd4313a0aa0 (patch) | |
tree | 7c1099c42de7ad5fcd15fa50aae3bd495e4b3695 /board | |
parent | 4a4deb870f9a19569e6b86afe36d0e0fbee4fa61 (diff) | |
download | u-boot-790d5b367025921c1c520eba280b1bd4313a0aa0.tar.xz |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/st/stm32mp1/stm32mp1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index cee3500737..1d4a54c902 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -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", id, fw_image, fw_size, ret ? " Failed!" : " Success!"); - if (!ret) { + if (!ret) rproc_start(id); - env_set("copro_state", "booted"); - } } U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_COPRO, board_copro_image_process); |