blob: b060a728d3482bce1094db21d6bb342a9d1da02d [file] [log] [blame]
Jit Loon Lima7f54942023-05-17 12:26:11 +08001/*
2 * Copyright (c) 2022-2023, Intel Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef DDR_H
8#define DDR_H
9
10#include <lib/mmio.h>
11#include "socfpga_handoff.h"
12
13/* FUNCTION DEFINATION */
14/*
15 * @brief Nand controller initialization function
16 *
17 * @hoff_ptr: Pointer to the hand-off data
18 * Return: 0 on success, a negative errno on failure
19 */
20int nand_init(handoff *hoff_ptr);
21
22#endif