
8 Jan
2015
8 Jan
'15
1:16 a.m.
On 01/07/2015 03:12 AM, Pali Rohár wrote:
@Tom, Nishanth, or anybody from TI: how to check if omap device type is HS in uboot? In linux kernel it is possible by:
if (omap_type() == OMAP2_DEVICE_TYPE_SEC) { ... }
it should be. CONTROL_STATUS register exists in almost all omap2+ devices. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm...
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm...
omap3 u-boot implements get_device_type
http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/cpu/armv7/omap3/sys_info....
Macro HS_DEVICE could be used?
-- Regards, Nishanth Menon