[U-Boot] [PATCH 1/9] combine block device load commands into common function

Tom Rini trini at ti.com
Thu Sep 6 01:50:20 CEST 2012


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 <rob.herring at calxeda.com>
> >>
> >> 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 <rob.herring at calxeda.com>
> > [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 <common.h>
> >> +#include <command.h>
> > 
> > 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


More information about the U-Boot mailing list