Skip to content
Snippets Groups Projects
Commit b3107928 authored by Tom Rini's avatar Tom Rini
Browse files

omap-common/hwinit-common.c: timer_init() doesn't need to touch gd


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: default avatarTom Rini <trini@ti.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent b352dde1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment