hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
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__ */