
On Monday 20 August 2012 04:11:17 Bob Liu wrote:
On Wed, Aug 8, 2012 at 12:59 PM, Mike Frysinger vapier@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