summaryrefslogtreecommitdiffstats
path: root/plat/intel/soc/common/drivers/nand/nand.h
blob: b060a728d3482bce1094db21d6bb342a9d1da02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2022-2023, Intel Corporation. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef DDR_H
#define DDR_H

#include <lib/mmio.h>
#include "socfpga_handoff.h"

/* FUNCTION DEFINATION */
/*
 * @brief Nand controller initialization function
 *
 * @hoff_ptr: Pointer to the hand-off data
 * Return: 0 on success, a negative errno on failure
 */
int nand_init(handoff *hoff_ptr);

#endif