[U-Boot] [RFC PATCH v2 1/2] Reserve secure memory

Thomas Chou thomas at wytron.com.tw
Thu Nov 12 03:17:49 CET 2015


Hi York,

On 2015年11月12日 06:50, York Sun wrote:
> diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
> index d0383f3..336f3a0 100644
> --- a/include/asm-generic/global_data.h
> +++ b/include/asm-generic/global_data.h
> @@ -58,6 +58,7 @@ typedef struct global_data {
>
>   	unsigned long relocaddr;	/* Start address of U-Boot in RAM */
>   	phys_size_t ram_size;	/* RAM size */
> +	phys_addr_t secure_ram;	/* Secure memory addr */

Shouldn't this be included only if CONFIG_SYS_MEM_RESERVE_SECURE ?

>   	unsigned long mon_len;	/* monitor len */
>   	unsigned long irq_sp;		/* irq stack pointer */
>   	unsigned long start_addr_sp;	/* start_addr_stackpointer */

Best regards,
Thomas


More information about the U-Boot mailing list