From: Tom Rini Date: Fri, 8 Nov 2013 17:25:52 -0500 Subject: [U-Boot] [U-Boot, v3] cmd/gpt: Support gpt command for all devices In-Reply-To: <1380905584-21665-1-git-send-email-egbert.eich@gmail.com> References: <1380905584-21665-1-git-send-email-egbert.eich@gmail.com> Message-ID: <20131108222552.GA5925@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 Fri, Oct 04, 2013 at 06:53:04PM +0200, egbert.eich at gmail.com wrote: > From: Egbert Eich > > The gpt command was only implemented for mmc devices. There is no reason > why this command should not be generalized and be applied all other > storage device classes. > This change both simplifies the implementation and eliminates a > build failure for systems that don't support mmcs. > > Signed-off-by: Egbert Eich > Tested-by: Piotr Wilczek Applied to u-boot/master with a slight change to the coding style (yes, we want variables declared at the start of the function and __maybe_unused for ones that would be hidden via #ifdef and cause a warning in some cases), thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: