From: "Pali Rohár" <pali.rohar@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Nokia RX-51 (N900) board broken
Date: Thu, 8 Jan 2015 09:45:21 +0100 [thread overview]
Message-ID: <201501080945.22191@pali> (raw)
In-Reply-To: <54ADCC56.4050202@ti.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20150108/4baf3523/attachment.pgp>
prev parent reply other threads:[~2015-01-08 8:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-03 10:47 [U-Boot] Nokia RX-51 (N900) board broken Pali Rohár
2015-01-03 18:13 ` Benoît Thébaudeau
2015-01-04 22:18 ` Pali Rohár
2015-01-04 21:46 ` Georges Savoundararadj
2015-01-04 22:14 ` Pali Rohár
2015-01-04 22:28 ` Georges Savoundararadj
2015-01-06 22:03 ` Georges Savoundararadj
2015-01-06 22:19 ` Pali Rohár
2015-01-06 22:35 ` Georges Savoundararadj
2015-01-07 9:12 ` Pali Rohár
2015-01-08 0:16 ` Nishanth Menon
2015-01-08 8:45 ` Pali Rohár [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201501080945.22191@pali \
--to=pali.rohar@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.