public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...
@ 2009-12-05 23:06 Wolfgang Denk
  2009-12-05 23:43 ` Peter Tyser
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-12-05 23:06 UTC (permalink / raw)
  To: u-boot

Dear Peter,

your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks
building of the MVBLUE board:

-> ./MAKEALL MVBLUE
Configuring for MVBLUE board...
common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo'
make: *** [u-boot] Error 1


Can you please have a look?

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
What's the sound a name makes when it's dropped?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...
  2009-12-05 23:06 [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board Wolfgang Denk
@ 2009-12-05 23:43 ` Peter Tyser
  2009-12-05 23:50   ` Peter Tyser
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Tyser @ 2009-12-05 23:43 UTC (permalink / raw)
  To: u-boot

On Sun, 2009-12-06 at 00:06 +0100, Wolfgang Denk wrote:
> Dear Peter,
> 
> your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks
> building of the MVBLUE board:
> 
> -> ./MAKEALL MVBLUE
> Configuring for MVBLUE board...
> common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo'
> make: *** [u-boot] Error 1
> 
> 
> Can you please have a look?

Sure, sorry for the breakage.  Looks like MVBLUE has CONFIG_CMD_IRQ
defined, but doesn't have CONFIG_CMD_MISC defined.  Prior to my move,
since the do_irqinfo() was inside cmd_misc.c, the do_irqinfo() call was
never compiled.

So previously, CONFIG_CMD_IRQ had no effect and was ignored for the
MVBLUE.

cpu/mpc824x/interrupts.c doesn't have do_irqinfo() implemented, which
causes the problem.

I'll send a patch which removes CONFIG_CMD_IRQ from MVBLUE.h as a fix.

Best,
Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...
  2009-12-05 23:43 ` Peter Tyser
@ 2009-12-05 23:50   ` Peter Tyser
  2009-12-07  8:20     ` Andre Schwarz
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Tyser @ 2009-12-05 23:50 UTC (permalink / raw)
  To: u-boot

On Sat, 2009-12-05 at 17:43 -0600, Peter Tyser wrote:
> On Sun, 2009-12-06 at 00:06 +0100, Wolfgang Denk wrote:
> > Dear Peter,
> > 
> > your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks
> > building of the MVBLUE board:
> > 
> > -> ./MAKEALL MVBLUE
> > Configuring for MVBLUE board...
> > common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo'
> > make: *** [u-boot] Error 1
> > 
> > 
> > Can you please have a look?
> 
> Sure, sorry for the breakage.  Looks like MVBLUE has CONFIG_CMD_IRQ
> defined, but doesn't have CONFIG_CMD_MISC defined.  Prior to my move,
> since the do_irqinfo() was inside cmd_misc.c, the do_irqinfo() call was
> never compiled.
> 
> So previously, CONFIG_CMD_IRQ had no effect and was ignored for the
> MVBLUE.
> 
> cpu/mpc824x/interrupts.c doesn't have do_irqinfo() implemented, which
> causes the problem.
> 
> I'll send a patch which removes CONFIG_CMD_IRQ from MVBLUE.h as a fix.

On second thought, this will disable both the 'interrupts' and 'irqinfo'
command for the MVBLUE.  Andre, do you mind if the 'interrupts' command
is not available the MVBLUE?

Thanks,
Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board...
  2009-12-05 23:50   ` Peter Tyser
@ 2009-12-07  8:20     ` Andre Schwarz
  0 siblings, 0 replies; 4+ messages in thread
From: Andre Schwarz @ 2009-12-07  8:20 UTC (permalink / raw)
  To: u-boot

Peter,
> On second thought, this will disable both the 'interrupts' and 'irqinfo'
> command for the MVBLUE.  Andre, do you mind if the 'interrupts' command
> is not available the MVBLUE?
>   
please go ahead - no problem at all.

Regards,
Andr?

MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-07  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-05 23:06 [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board Wolfgang Denk
2009-12-05 23:43 ` Peter Tyser
2009-12-05 23:50   ` Peter Tyser
2009-12-07  8:20     ` Andre Schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox