Files
u-boot/drivers
Bin Meng e5dc2d2665 nvme: Fix getting PCI vendor id of the NVMe block device
The codes currently try to read PCI vendor id of the NVMe block
device by dm_pci_read_config16() with its parameter set as its
root complex controller (ndev->pdev) instead of itself. This is
seriously wrong. We can read the vendor id by passing the correct
udevice parameter to the dm_pci_read_config16() API, however there
is a shortcut by reading the cached vendor id from the PCI device's
struct pci_child_platdata.

While we are here fixing this bug, apparently the quirk stuff handle
codes in nvme_get_info_from_identify() never takes effect since its
logic has never been true at all. Remove these codes completely.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2017-08-28 07:17:10 -04:00
..
2017-06-01 07:03:13 -06:00
2017-05-22 12:38:15 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-13 15:17:37 -04:00
2017-08-22 09:56:09 +02:00
2017-08-24 11:00:47 +08:00
2017-07-28 23:34:44 +02:00
2017-07-28 12:02:47 -06:00
2017-06-01 19:56:54 -07:00
2017-08-16 08:30:24 -04:00
2017-06-01 07:03:10 -06:00
2017-06-01 07:03:01 -06:00
2017-05-18 11:23:31 +02:00
2017-06-01 07:03:01 -06:00
2017-08-13 15:17:31 -04:00