[OE-core] [PATCH] u-boot: Update to 2016.05 release

Otavio Salvador otavio.salvador at ossystems.com.br
Fri May 27 13:53:03 UTC 2016


On Fri, May 27, 2016 at 10:43 AM, Andrew Shadura
<andrew.shadura at collabora.co.uk> wrote:
> Upgrade U-Boot to the latest upstream version.
> Add a patch to unbreak build on some toolchains.
>
> Signed-off-by: Andrew Shadura <andrew.shadura at collabora.co.uk>
> ---
...
> +++ b/meta/recipes-bsp/u-boot/u-boot/0000-video-ipu_common-fix-build-error.patch
> @@ -0,0 +1,48 @@
> +From c510f2e436008e55a50b063f2180cb1e63984224 Mon Sep 17 00:00:00 2001
> +From: Peng Fan <van.freenix at gmail.com>
> +Date: Thu, 28 Apr 2016 10:07:53 +0800
> +Subject: [PATCH] video: ipu_common: fix build error
> +
> +Some toolchains fail to build
> +"clk->rate = (u64)(clk->parent->rate * 16) / div;"
> +And the cast usage is wrong.
> +
> +Use the following code to fix the issue,
> +"
> +  do_div(parent_rate, div);
> +  clk->rate = parent_rate;
> +"
> +
> +Upstream-Status: Inappropriate [comes from upstream's branch]

Is this a backport? If such, please fix the value.

...

Besides that, it looks fine :)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list