[U-Boot-Users] interrupts in general / Fix for mcf5329evb - spurious interrupts on Linux/uClinux kernel boot

Wolfgang Denk wd at denx.de
Fri Aug 10 14:56:12 CEST 2007


In message <46BC68C1.1965.E9A829 at w.wegner.astro-kom.de> you wrote:
> 
> > > Attached is a very small patch that implements the fix - when 
> > > CONFIG_MCF532x is defined, the timer interrupt is masked immediately 
> > > prior to calling into the kernel.  I don't know if this is the right way 
> [...]
> 
> is this considered the correct solution?

It probably fixes an immediate problem...

> Please correct me if I am wrong, but should not interrupts be completely
> disabled before transferring control to the linux kernel to avoid any confusion?

Right.


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
A stone was placed at a ford in a river with the inscription:
"When this stone is covered it is dangerous to ford here."




More information about the U-Boot mailing list