[U-Boot-Users] [PATCH] Add sub-commands to fdt

Jerry Van Baren gerald.vanbaren at ge.com
Fri Feb 15 22:44:43 CET 2008


Kumar Gala wrote:
> fdt header                          - Display header info
> fdt bootcpu <id>                    - Set boot cpuid
> fdt memory <addr> <size>            - Add/Update memory node
> fdt memrsv print                    - Show current mem reserves
> fdt memrsv add    <addr> <size>     - Add a mem reserve
> fdt memrsv delete <index>           - Delete a mem reserves
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>

Hi Kumar,

I was thinking about this a bit more.  How about if we change the 
"memrsv" subcommand to "rsvmem" then we can abbreviate the commands more:
   fdt mo[ve]
   fdt me[mory]
   fdt rm        <- would no longer be distinctive on 'r', NBD
   fdt rs[vmem]
and save ourselves some typing.

What do you think?
gvb




More information about the U-Boot mailing list