blob: c080b9cc42ad4ea4fed821a49516cf685ab703d6 [file] [log] [blame]
Patrick Delaunay7daa91d2020-03-18 09:24:49 +01001/* 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
8int stm32prog_write_medium_virt(struct dfu_entity *dfu, u64 offset,
9 void *buf, long *len);
10int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset,
11 void *buf, long *len);
12int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size);
Patrick Delaunayc5112242020-03-18 09:24:55 +010013
14bool stm32prog_get_tee_partitions(void);
15
16bool stm32prog_get_fsbl_nor(void);