From: Tom Rini Date: Mon, 28 Aug 2017 22:56:24 -0400 Subject: [U-Boot] [U-Boot, 11/14] nvme: Get rid of the global variable nvme_info In-Reply-To: <1503414919-30820-12-git-send-email-bmeng.cn@gmail.com> References: <1503414919-30820-12-git-send-email-bmeng.cn@gmail.com> Message-ID: <20170829025624.GQ17058@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: