1 /*
2  * Copyright (c) 2021, STMicroelectronics - All Rights Reserved
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef STM32MP_IO_STORAGE_H
7 #define STM32MP_IO_STORAGE_H
8 
9 #include <stdint.h>
10 
11 #include <drivers/io/io_storage.h>
12 
13 /* IO devices handle */
14 extern uintptr_t storage_dev_handle;
15 extern uintptr_t fip_dev_handle;
16 
17 extern io_block_spec_t image_block_spec;
18 
19 /* Function declarations */
20 int open_fip(const uintptr_t spec);
21 int open_storage(const uintptr_t spec);
22 
23 #endif /* STM32MP_IO_STORAGE_H */
24