[U-Boot] [PATCH 2/2] ARM: OMAP5: redefine arm_setup_identity_mapping

Tom Rini trini at ti.com
Mon Nov 19 21:49:53 CET 2012


On Mon, Nov 19, 2012 at 03:59:34PM +0100, Vincent Stehlé wrote:

> We introduce an OMAP5 specific version of arm_setup_identity_mapping(), which
> makes the first page of the identity mapping invalid.
> 
> We want to unmap the region near address zero on HS OMAP devices, to avoid
> speculative accesses. Accessing this region causes security violations, which
> we want to avoid.
> 
> Signed-off-by: Vincent Stehlé <v-stehle at ti.com>
[snip]
> +	/* Perform default mapping, which sets up an identity-mapping for all
> +	 * 4GB, rw for everyone */

/*
 * Multi-line comments must all be like this.
 */

Aside from that (and the comment to 1/2) I think we're good here,
including the naming of the function.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121119/c80f8eba/attachment.pgp>


More information about the U-Boot mailing list