Jit Loon Lim | a7f5494 | 2023-05-17 12:26:11 +0800 | [diff] [blame] | 1 | /* |
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 | */ | ||||
20 | int nand_init(handoff *hoff_ptr); | ||||
21 | |||||
22 | #endif |