
23 Jun
2021
23 Jun
'21
11:22 a.m.
On Tue, Jun 22, 2021 at 9:16 PM Bin Meng bmeng.cn@gmail.com wrote:
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
Changes in v2:
- drop the nvme per-child platdata change
drivers/nvme/nvme-uclass.c | 30 ------------------------------ drivers/nvme/nvme.c | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 30 deletions(-)
series applied to u-boot-x86, thanks!