summaryrefslogtreecommitdiff
path: root/configs/tqma6dl_mba6_mmc_defconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-08-22 15:15:16 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-28 11:17:14 (GMT)
commit18aa5a4134e8179c7c3e38675822284a2718a3d8 (patch)
tree17cd715b07568c52883f6ac7d71f8f1eee9e1b08 /configs/tqma6dl_mba6_mmc_defconfig
parentd5b7ee9c6e19993b10b549ac763aa7db8dbacee0 (diff)
downloadu-boot-18aa5a4134e8179c7c3e38675822284a2718a3d8.tar.xz
nvme: Get rid of the global variable nvme_info
At present the NVMe uclass driver uses a global variable nvme_info to store global information like namespace id, and NVMe controller driver's priv struct has a blk_dev_start that is used to calculate the namespace id based on the global information from nvme_info. This is not a good design in the DM world and can be replaced with the following changes: - Encode the namespace id in the NVMe block device name during the NVMe uclass post probe - Extract the namespace id from the device name during the NVMe block device probe - Let BLK uclass calculate the devnum for us by passing -1 to blk_create_devicef() as the devnum Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/tqma6dl_mba6_mmc_defconfig')
0 files changed, 0 insertions, 0 deletions