Patrick Delaunay | 7daa91d | 2020-03-18 09:24:49 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ |
| 2 | /* |
| 3 | * Copyright (C) 2020, STMicroelectronics - All Rights Reserved |
| 4 | */ |
| 5 | |
| 6 | #define STM32PROG_VIRT_FIRST_DEV_NUM 0xF1 |
| 7 | |
| 8 | int stm32prog_write_medium_virt(struct dfu_entity *dfu, u64 offset, |
| 9 | void *buf, long *len); |
| 10 | int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset, |
| 11 | void *buf, long *len); |
| 12 | int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size); |
Patrick Delaunay | c511224 | 2020-03-18 09:24:55 +0100 | [diff] [blame] | 13 | |
| 14 | bool stm32prog_get_tee_partitions(void); |
| 15 | |
| 16 | bool stm32prog_get_fsbl_nor(void); |