Jimi Xenidis wrote: > That is true for "server" and "classic" because they do not necessarily stop > at 0. > for embedded you can just: > /* u-boot leaves decrementer enabled */ > mtspr(SPRN_DECAR, 0); /* paranoia */ > mtspr(SPRN_DEC, 0); > mtspr(SPRN_TCR, 0); > mtspr(SPRN_TSR, 0);
I think you mean mtspr(SPRN_TSR, 0xFFFFFFFF); since it's write-1-to-clear. Other than that, this is exactly what I was talking about. I just think it makes sense for the boot loader to try to disable as many interrupt sources as possible, and force the OS to enable the ones it wants. On the other hand, Scott's points are completely valid. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot