[U-Boot] [PATCH 06/16] Blackfin: Bf609-ezkit: implement soft switch

Mike Frysinger vapier at gentoo.org
Thu Aug 23 05:53:03 CEST 2012


On Monday 20 August 2012 04:11:17 Bob Liu wrote:
> On Wed, Aug 8, 2012 at 12:59 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> > start with the address that the newest boards are using, and then
> > fallback to the older ones.  this way there's no runtime penalty on
> > newer boards, but older ones continue to work.
> > 
> > shouldn't there be a new u-boot command here so people can toggle
> > peripherals themselves ?  i thought that was the intention when we first
> > discussed this idea with the firmware team.
> 
> I don't know whether a blackfin specific u-boot command can be accepted.

sure it will.  we've got some already (like "bootldr" and "otp" and "cplbinfo" 
and "ldrinfo").  if it's board specific (i suspect it will be), then just add 
it to the bf609-ezkit board dir.  you can add u-boot commands in there just as 
easily as the common/ directory.

common/cmd_cplbinfo.c is probably the easiest example to get you up and 
running

> What about merge these series with the default setting first?
> Because it's already a little big, let's make it simple at first.

sure, setting up sane defaults is OK, but we'll still want the command :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120822/b12cca41/attachment.pgp>


More information about the U-Boot mailing list