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