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