
Hi Tom,
As I know, the CONFIG_BLK is not supported on some platforms' defconfig (# CONFIG_BLK is not set), such as the fsl-qoriq platform. I find when 'CONFIG_BLK=y', then 'fsl-esdhc-mmc' device can't work normally.
So, in order to make sure the NVMe driver is available on all the platforms, I support for both with and without BLK.
Thank you!
Best regards, Zhikang Zhang
-----Original Message----- From: Tom Rini [mailto:trini@konsulko.com] Sent: Tuesday, April 11, 2017 5:49 AM To: Z.K. Zhang zhikang.zhang@nxp.com Cc: york sun york.sun@nxp.com; u-boot@lists.denx.de; Wenbin Song wenbin.song@nxp.com Subject: Re: [U-Boot] [RFC, 1/2] NVMe: add NVMe driver support
On Thu, Apr 06, 2017 at 04:40:33PM +0800, Zhikang Zhang wrote:
Add Support of devices that follow the NVM Express standard
basic functions: nvme init/scan nvme info - show the basic information of device nvme Read/Write
driver model: Use block device(CONFIG_BLK)'s structure to support nvme's DM. Use UCLASS_PCI as a parent uclass.
The driver code heavily copy from the NVMe driver code in Linux Kernel.
Signed-off-by: Zhikang Zhang zhikang.zhang@nxp.com Signed-off-by: Wenbin Song wenbin.song@nxp.com
Why support for both with and without BLK? Thanks!