s3c2440 can use the generic ARM WFI which is much simpler. If there's any advantage...
commitdb4dffe9f9da0f273d335c170c9d20a1b2ebba3a
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Wed, 11 Feb 2009 19:28:02 +0000 (11 19:28 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Wed, 11 Feb 2009 19:28:02 +0000 (11 19:28 +0000)
treed0258f607295141b68a49df76582f46ad663cc64
parent6257b401e36de313f4a40873787aab378eb8096f
s3c2440 can use the generic ARM WFI which is much simpler. If there's any advantage to setting the IDLE bit for power consumption, it's possible to combine its use with the old core_sleep instead of using the loop waiting for idle to kick in. For now, go basic. Let GCC choose the register for MCR instead of forcing it to r0.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19978 a1c6a512-1295-4272-9138-f99709370657
firmware/thread.c