Re: [cbootimage PATCH 1/1] Add Tegra124 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/27/2013 01:14 AM, Thierry Reding wrote:
> On Mon, Aug 26, 2013 at 11:01:36AM -0600, Stephen Warren wrote:
>> On 08/26/2013 01:47 AM, Thierry Reding wrote:
>>> On Fri, Aug 23, 2013 at 01:05:11PM -0600, Stephen Warren
>>> wrote:
>>>> On 08/22/2013 09:46 PM, Penny Chiu wrote:
>>>>> Add the Tegra124 chip support to cbootimage. User can use
>>>>> "-t124" as option to parse .cfg and generate BCT/image for
>>>>> Tegra124.
...
>>> Perhaps in the long run it would be better to turn this into
>>> something like:
>>> 
>>> printf("    -t, --target SOC      Select target device. Must be
>>> one of:\n"); printf("                          20, 30, 114, 124
>>> (default: 20)\n");
>> 
>> I don't like the idea of "--target 20", since "20" isn't an SoC
>> name; it's "tegra20" or just perhaps "t20".
> 
> I'd really like to get some kind of consistency. We've been using
> the tegra20/tegra30/tegra114 variants pretty consistently within
> the kernel and U-Boot, but other tools use the abbreviated form
> (t20/t30/t114). Actually I think this is the only one that uses the
> abbreviation, so...
> 
>> I'd be fine with a patch that allowed "-SOC" or "--target SOC",
>> with SOC being "t20", "t30", ...
> 
> ... perhaps introducing a --target
> {tegra20,tegra30,tegra114,tegra124} option that deprecates
> -t20/-t30/-t114/-t124 would be a good option. I for one sometimes
> get confused and can't remember the correct form to use for
> cbootimage. It's mostly scripted these days, so that issue is not
> that important, but using one variant only will also help to make 
> the various scripts consistent and easier to maintain.

Yes, true. To bikeshed a bit, perhaps "--soc tegra20" would be
slightly less typing. I was going to suggest the simpler "--tegra20",
but then we run the risk of strange names appearing in the future and
not being able to control pollution of the option naming space.

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux