From: Tom Rini Date: Wed, 5 Sep 2012 16:50:20 -0700 Subject: [U-Boot] [PATCH 1/9] combine block device load commands into common function In-Reply-To: <5047E4A1.20005@gmail.com> References: <1345757510-6756-1-git-send-email-robherring2@gmail.com> <1345757510-6756-2-git-send-email-robherring2@gmail.com> <20120905233610.GC5083@bill-the-cat> <5047E4A1.20005@gmail.com> Message-ID: <20120905235020.GA6780@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 Wed, Sep 05, 2012 at 06:47:45PM -0500, Rob Herring wrote: > > > On 09/05/2012 06:36 PM, Tom Rini wrote: > > On Thu, Aug 23, 2012 at 04:31:42PM -0500, Rob Herring wrote: > > > >> From: Rob Herring > >> > >> All the raw block load commands duplicate the same code. Starting with > >> the ide version as it has progress updates convert ide, usb, and scsi boot > >> commands to all use a common version. > >> > >> Signed-off-by: Rob Herring > > [snip] > >> diff --git a/common/cmd_disk.c b/common/cmd_disk.c > >> new file mode 100644 > >> index 0000000..38420dc > >> --- /dev/null > >> +++ b/common/cmd_disk.c > >> @@ -0,0 +1,161 @@ > >> +#include > >> +#include > > > > Many companies have legal departments that get upset by files without > > license information. Please add a GPLv2+ message, thanks. > > Probably whatever is on the ide code I copied this from is more > appropriate, but yes I need to add that. Yes, sorry, I meant the GPLv2+ message that all of the other files have some variant of. Copying the cmd_ide.c one on top sounds best. -- Tom