[U-Boot] [PATCH] arm: omap: Unify get_device_type() function