arm-trusted-firmware/drivers/nxp/flexspi/nor/flexspi_nor.h
Kuldeep Singh b525a8f0d2 nxp: add flexspi driver support
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
2021-03-24 09:49:31 +05:30

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 */