Skip to content
Snippets Groups Projects
Commit 84344258 authored by Bin Meng's avatar Bin Meng
Browse files

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's avatarBin Meng <bmeng.cn@gmail.com>
parent c3e52c71
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment