[U-Boot] [PATCH 03/15] Add command to enable/disable interrupts

Wolfgang Denk wd at denx.de
Tue Aug 19 00:59:33 CEST 2008


Dear Kumar Gala,

In message <1218806685-3615-3-git-send-email-galak at kernel.crashing.org> you wrote:
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  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: wd at denx.de
The use of anthropomorphic terminology when  dealing  with  computing
systems is a symptom of professional immaturity.   -- Edsger Dijkstra



More information about the U-Boot mailing list