Dear Kumar Gala,

In message <[EMAIL PROTECTED]> you wrote:
> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
> ---
>  common/Makefile  |    1 +
>  common/cmd_irq.c |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 51 insertions(+), 0 deletions(-)
>  create mode 100644 common/cmd_irq.c
...
> +U_BOOT_CMD(
> +     interrupts, 5, 0, do_interrupts,
> +     "interrupts - enable or disable interrupts\n",
> +     "[on, off]\n"
> +     "    - enable or disable interrupts\n"

I suggest to also support this command without argument, in which case
it would print the current setting.

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: [EMAIL PROTECTED]
The use of anthropomorphic terminology when  dealing  with  computing
systems is a symptom of professional immaturity.   -- Edsger Dijkstra
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to