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

Rob Herring
2012-09-05T23:47:45Z

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@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@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.

Rob