Commit 23d240d6 authored by Tero Kristo's avatar Tero Kristo
Browse files

ARM: OMAP2+: id: cache omap_type value



There is no need to read the register with every invocation of the function,
as the value is constant. Thus, cache the value in a static variable.

Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
parent ae0f6798
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment