hc
2024-08-19 a51341d8c7882adfad4f167bc7c3ca616908b53d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (C) (C) Copyright 2017 Rockchip Electronics Co., Ltd
 *
 * SPDX-License-Identifier:    GPL-2.0+
 */
 
#ifndef __RKNAND_H__
#define __RKNAND_H__
/**
 * rknand_scan_namespace - scan all namespaces attached to RK NAND
 * controllers
 *
 * This probes all registered RK NAND uclass device drivers in the
 * system,and tries to find all namespaces attached to the RK NAND
 * controllers.
 *
 * @return:    0 on success, -ve on error
 */
int rknand_scan_namespace(void);
#endif /* __RKNAND_H__ */