[U-Boot] [U-Boot, 11/14] nvme: Get rid of the global variable nvme_info
Tom Rini
trini at konsulko.com
Tue Aug 29 02:56:24 UTC 2017
On Tue, Aug 22, 2017 at 08:15:16AM -0700, Bin Meng wrote:
> 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:
>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170828/84a0da56/attachment.sig>
More information about the U-Boot
mailing list