xref: /rk3399_ARM-atf/plat/intel/soc/common/drivers/nand/nand.h (revision 76d5d32fcf7e8859721e0d63a1ecc6b674a4ae0e)
1 /*
2  * Copyright (c) 2022-2023, Intel Corporation. All rights reserved.
3  * Copyright (c) 2025, Altera Corporation. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef NAND_H
9 #define NAND_H
10 
11 #include <lib/mmio.h>
12 #include "socfpga_handoff.h"
13 
14 /* FUNCTION DEFINATION */
15 /*
16  * @brief Nand controller initialization function
17  *
18  * Return: 0 on success, a negative errno on failure
19  */
20 int nand_init(void);
21 
22 #endif