> > This address is not accessible out side of secure mode along with some other
> qualifiers.
> >
> > Trying to access is futile and will result in an abort.  The control
> register range is full of readable and aborting addresses.
>
> Is there any hint in TRM (spruf98b.pdf) identifying/marking which
> registers are readable in normal and which are only accessible in
> secure mode?

Hints, in that TRM, I'd not looked in that one before, but yes.  Actually, it 
seems all those registers have sufficient information for you to know if they 
are good to access or not.

In each register description the 'type' field instead of having 'r/w/..' has 
'refer to table-xyz'.  The table is right after the register.  That table gives 
accessibility for NSP and SP modes (non-secure and secure).

For CONTROL_RAND_KEY_0 in Table 7-144 is shows 'Not Accessible' in NSP mode.

You can also look at CONTROL_SEC_CTRL register which sets the behavior of some 
of these register groups.  Secure code at boot would have set the defaults.

Regards,
Richard W.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to