blob: 989c890d43f1b7c63c617975dec97297eaaf4d39 [file] [log] [blame]
Yann Gautier29f1f942021-07-13 18:07:41 +02001/*
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 */
14extern uintptr_t storage_dev_handle;
15extern uintptr_t fip_dev_handle;
16
17extern io_block_spec_t image_block_spec;
18
19/* Function declarations */
20int open_fip(const uintptr_t spec);
21int open_storage(const uintptr_t spec);
22
23#endif /* STM32MP_IO_STORAGE_H */