[U-Boot] [U-Boot, 3/9] nand: add a hw specific subcommand to the nand command.

Wolfgang Denk wd at denx.de
Thu Aug 4 22:46:25 CEST 2011


Dear Scott Wood,

In message <4E3B0109.5070201 at freescale.com> you wrote:
>
> How about some way of board/controller/etc. code plugging in commands to 
> "nand" without "hwfunc"?  Could be a chained handler, or copying entries 
> into a command table, or some way of generalizing the stuff in 
> common/command.c to operate on multiple command lists.  Though without 

I think a chained handler would be best.

> some change to how linker scripts are managed, to be practical that last 
> option would need to avoid introducing a new section per subtable (maybe 

I didn't have time to actually think this to an end how to implement
it etc.  Proposals / patches welcome :-)

> just filter out others when iterating).  Would be nice to get tab 
> completion on subcommands.

Indeed :-)

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every revolutionary idea - in science, politics, art, or  whatever  -
evokes three stages of reaction in a hearer:
  1. It is completely impossible - don't waste my time.
  2. It is possible, but it is not worth doing.
  3. I said it was a good idea all along.


More information about the U-Boot mailing list