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