Skip to content
Commit da0227f7 authored by Derald D. Woods's avatar Derald D. Woods Committed by Tom Rini
Browse files

arm: omap: Fix 'get_device_type()' for OMAP34XX



Fixes: 00bbe96e ("arm: omap: Unify get_device_type() function")

The control status register value is embedded in a structure somewhere
in SRAM, with the last refactoring effort. This patch allows OMAP3 EVM
(TMDSEVM3530) to boot again using the known control register base and
offset for 'readl', for the OMAP34XX case.

Signed-off-by: default avatarDerald D. Woods <woods.technical@gmail.com>
[trini: Change to if/else, add comment about it.]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 5bbc265b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment