From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?q?Roh=C3=A1r?= Date: Thu, 8 Jan 2015 09:45:21 +0100 Subject: [U-Boot] Nokia RX-51 (N900) board broken In-Reply-To: <54ADCC56.4050202@ti.com> References: <201501031147.33523@pali> <201501071012.57171@pali> <54ADCC56.4050202@ti.com> Message-ID: <201501080945.22191@pali> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 08 January 2015 01:16:22 Nishanth Menon wrote: > 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/o > map3/sys_info.c;h=bbb65bbe7263674c2b47b97ee05a9f588ed1c58f;hb= > HEAD#l265 > > Macro HS_DEVICE could be used? > > -- > Regards, > Nishanth Menon Thanks, condition if (get_device_type() == HS_DEVICE) fixed problem with qemu. I will send patch to ML. -- Pali Roh?r pali.rohar at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: