blob: 23d1adfbad92f2a33675d25bbf0feff933e0eb8f [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
Patrick Delaunayc5112242020-03-18 09:24:55 +010014bool stm32prog_get_fsbl_nor(void);