From: Wolfgang Denk Date: Tue, 19 Aug 2008 00:59:33 +0200 Subject: [U-Boot] [PATCH 03/15] Add command to enable/disable interrupts In-Reply-To: <1218806685-3615-3-git-send-email-galak@kernel.crashing.org> References: <1218806685-3615-1-git-send-email-galak@kernel.crashing.org> <1218806685-3615-2-git-send-email-galak@kernel.crashing.org> <1218806685-3615-3-git-send-email-galak@kernel.crashing.org> Message-ID: <20080818225933.5CE0A243AB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1218806685-3615-3-git-send-email-galak@kernel.crashing.org> you wrote: > Signed-off-by: Kumar Gala > --- > 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