nvme: Add nvme commands
authorZhikang Zhang <zhikang.zhang@nxp.com>
Thu, 3 Aug 2017 09:30:59 +0000 (02:30 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:32 +0000 (15:17 -0400)
commit0adc38be3d0e55fea72b8bbae831376d1649266e
tree911745a06c54291d0fa39393b6ab3880f0ef5242
parentf6aa61d599678b74b3c4a6bd5604a0f9ac2af9b2
nvme: Add nvme commands

Add nvme commands in U-Boot command line.

1. "nvme scan" - scan NVMe blk devices
2. "nvme list" - show all available NVMe blk devices
3. "nvme info" - show current or a specific NVMe blk device
4. "nvme device" - show or set current device
5. "nvme part" - print partition table
6. "nvme read" - read data from NVMe blk device
7. "nvme write" - write data to NVMe blk device

Signed-off-by: Zhikang Zhang <zhikang.zhang@nxp.com>
Signed-off-by: Wenbin Song <wenbin.song@nxp.com>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/Kconfig
cmd/Makefile
cmd/nvme.c [new file with mode: 0644]
doc/README.nvme