Newer
Older
arm-trusted-firmware / plat / st / stm32mp1 / include / stm32mp1_boot_device.h
@Lionel Debieve Lionel Debieve on 20 Jan 2020 474 bytes stm32mp1: Add support for SPI-NOR boot device
/*
 * Copyright (c) 2019, STMicroelectronics - All Rights Reserved
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef STM32MP1_BOOT_DEVICE_H
#define STM32MP1_BOOT_DEVICE_H

#include <drivers/raw_nand.h>
#include <drivers/spi_nand.h>
#include <drivers/spi_nor.h>

int plat_get_raw_nand_data(struct rawnand_device *device);
int plat_get_spi_nand_data(struct spinand_device *device);
int plat_get_nor_data(struct nor_device *device);

#endif /* STM32MP1_BOOT_DEVICE_H */