[U-Boot] [PATCH v2] Correct ffs/fls regression for PowerPC etc

Kumar Gala galak at kernel.crashing.org
Thu Sep 17 16:03:51 CEST 2009


On Sep 17, 2009, at 8:15 AM, Simon Kagstrom wrote:

> Correct ffs/fls regression for PowerPC etc
>
> Commits
>
>  02f99901ed1c9d828e3ea117f94ce2264bf8389e
>  52d61227b66d4099b39c8309ab37cb67ee09a405
>
> introduced a regression where platform-specific ffs/fls  
> implementations
> were defined away. This patch corrects that by using PLATFORM_xxx
> instead of the name itself.
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
> ---
> I've runtime tested on ARM (OpenRD base) and build-tested on  
> MPC8536DS,
> where __ilog2_u64 now at least is non-empty. It would be nice if (at
> least!) some PowerPC people could test the patch.
>
>
> ChangeLog:
>
> v2 - Make _all_ macros upper case (Stefan, Wolfgang)
>

Acked-by: Kumar Gala <galak at kernel.crashing.org>

This fixes the issue I was seeing.

- k


More information about the U-Boot mailing list