commit | 84344258f23fb9ac5abe7383c909f8606ac767b6 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Jun 22 21:16:17 2021 +0800 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed Jun 23 17:21:14 2021 +0800 |
tree | 4546e94d2546718ed4a11e37493ca0dc62aa9d52 | |
parent | c3e52c71bb0e7e5e34fadafbfcc34bce9899c100 [diff] |
nvme: Move block dev creation from uclass post_probe() to driver probe() At present the block device creation happens in the NVMe uclass driver post_probe() phase. In preparation to support multiple namespaces, we should issue namespace identify before creating block devices but that touches the underlying hardware hence it is not appropriate to do such in the uclass driver post_probe(). Let's move it to driver probe() phase instead. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>