[U-Boot] Nokia RX-51 (N900) board broken

Nishanth Menon nm at ti.com
Thu Jan 8 01:16:22 CET 2015


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/mach-omap2/id.c#n53

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-omap2/soc.h#n120

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.c;h=bbb65bbe7263674c2b47b97ee05a9f588ed1c58f;hb=HEAD#l265

Macro HS_DEVICE could be used?

--
Regards,
Nishanth Menon


More information about the U-Boot mailing list