Move do_irqinfo() to common/cmd_irq.c
PATCH 1/1 Move do_irqinfo() to common/cmd_irq.c
cmd_irq.c is a much better home and it is already conditionally compiled based on CONFIG_CMD_IRQ.
Signed-off-by Peter Tyser <[email protected]>
--- common/cmd_irq.c | 9 +++++++++ common/cmd_misc.c | 11 ----------- 2 files changed, 9 insertions(+), 11 deletions(-)
common/cmd_irq.c +9 -0
@@ -47,3 +47,12 @@ U_BOOT_CMD("enable or disable interrupts" ,"[on, off]" ); + +/* Implemented in $(CPU)/interrupts.c */ +int do_irqinfo (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]); + +U_BOOT_CMD ( + irqinfo,1 ,1 , do_irqinfo, +"print information about IRQs" , +"" +);
common/cmd_misc.c +0 -11
@@ -49,17 +49,6 @@ int do_sleep (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])return 0 ; } -/* Implemented in $(CPU)/interrupts.c */ -#if defined(CONFIG_CMD_IRQ ) -int do_irqinfo (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]); - -U_BOOT_CMD ( - irqinfo,1 ,1 , do_irqinfo, -"print information about IRQs" , -"" -); -#endif - U_BOOT_CMD( sleep , 2, 1, do_sleep, "delay execution for some time",
Signature · 1 line
1.6.2.1
Wolfgang Denk
AppliedPATCH 1/1 Move do_irqinfo() to common/cmd_irq.c
Dear Peter Tyser,
Quoted 8 lines · In message <[email protected]> you wrote:
cmd_irq.cis a much better home and it is already conditionally compiled based onCONFIG_CMD_IRQ.Signed-off-by Peter Tyser <[email protected]>--- common/cmd_irq.c | 9 +++++++++ common/cmd_misc.c | 11 ----------- 2 files changed, 9 insertions(+), 11 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
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
Mr. Cole's Axiom:
The sum of the intelligence on the planet is a constant;
the population is growing.