[U-Boot] [PATCH 3/3] omap-common/hwinit-common.c: timer_init() doesn't need to touch gd

Simon Glass sjg at chromium.org
Sun Dec 21 19:53:01 CET 2014


On 19 December 2014 at 14:52, Tom Rini <trini at ti.com> wrote:
> The gd will be cleared at first so we don't need to set arch.tbl to 0.
> In addition, the checks later against lastinc also work fine with an
> initial value of 0 here.  This also brings us in line with sunxi code
> for example.
>
> Signed-off-by: Tom Rini <trini at ti.com>
> ---
>  arch/arm/cpu/armv7/omap-common/timer.c |    5 -----
>  1 file changed, 5 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list