as3525: find_first_set_bit() isn't built in bootloaders
commit330878e7205f401abe3f5124d605399dc4294f81
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Tue, 25 May 2010 16:20:04 +0000 (25 16:20 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Tue, 25 May 2010 16:20:04 +0000 (25 16:20 +0000)
treea4e9c251f4dcf54fd49245aba13c2dfd5a9b494e
parent1fda8df821067cdc57aaf39cbf4382ea1a3c57ad
as3525: find_first_set_bit() isn't built in bootloaders

We assume only one bit is set and use clz to find the most significant
set bit, if there's more than one bit set we'll see it in the panic msg

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26285 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/system-as3525.c