mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00

Flexspi driver now introduces read/write/erase APIs for complete flash size, FAST-READ are by default used and IP bus is used for erase, read and write using flexspi APIs. Framework layer is currently embedded in driver itself using flash_info defines. Test cases are also added to confirm flash functionality currently under DEBUG flag. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Change-Id: I755c0f763f6297a35cad6885f84640de50f51bb0
15 lines
278 B
C
15 lines
278 B
C
/*
|
|
* Copyright 2020 NXP
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef FLEXSPI_NOR_H
|
|
#define FLEXSPI_NOR_H
|
|
|
|
int flexspi_nor_io_setup(uintptr_t nxp_flexspi_flash_addr,
|
|
size_t nxp_flexspi_flash_size,
|
|
uint32_t fspi_base_reg_addr);
|
|
|
|
#endif /* FLEXSPI_NOR_H */
|