The MTD tee partitions used to save the OP-TEE binary are needed when TF-A doesn't use the FIP container to load binaries. This path removes the associated code in command stm32prog. Change-Id: I1aeda5b6cc2115de802f79656884387d7a7ca94c Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/184635 Reviewed-by: CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by: CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com> Tested-by: Patrick DELAUNAY <patrick.delaunay@st.com>
18 lines
613 B
C
18 lines
613 B
C
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
|
|
/*
|
|
* Copyright (C) 2020, STMicroelectronics - All Rights Reserved
|
|
*/
|
|
|
|
#define STM32PROG_VIRT_FIRST_DEV_NUM 0xF1
|
|
|
|
int stm32prog_write_medium_virt(struct dfu_entity *dfu, u64 offset,
|
|
void *buf, long *len);
|
|
int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset,
|
|
void *buf, long *len);
|
|
int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size);
|
|
|
|
/* only needed for CONFIG_STM32MP15x_STM32IMAGE, prototype defined to avoid compilation issue */
|
|
bool stm32prog_get_tee_partitions(void);
|
|
|
|
bool stm32prog_get_fsbl_nor(void);
|