On 03/24/2015 02:27 AM, Zhuoyu Zhang wrote:
> For ls1021a, Reserve secure code in to memory in case OCRAM
> is needed by other usage.
> 
> Signed-off-by: Zhuoyu Zhang <zhuoyu.zh...@freescale.com>
> ---
>  include/configs/ls1021aqds.h | 1 -
>  include/configs/ls1021atwr.h | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
> index 3dc4da3..42439a4 100644
> --- a/include/configs/ls1021aqds.h
> +++ b/include/configs/ls1021aqds.h
> @@ -554,7 +554,6 @@ unsigned long get_board_ddr_clk(void);
>  #define CONFIG_LS102XA_NS_ACCESS
>  #define CONFIG_SMP_PEN_ADDR          0x01ee0200
>  #define CONFIG_TIMER_CLK_FREQ                12500000
> -#define CONFIG_ARMV7_SECURE_BASE     OCRAM_BASE_S_ADDR
>  
>  #define CONFIG_HWCONFIG
>  #define HWCONFIG_BUFFER_SIZE         128
> diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
> index a13876b..dccc661 100644
> --- a/include/configs/ls1021atwr.h
> +++ b/include/configs/ls1021atwr.h
> @@ -347,7 +347,6 @@
>  #define CONFIG_LS102XA_NS_ACCESS
>  #define CONFIG_SMP_PEN_ADDR          0x01ee0200
>  #define CONFIG_TIMER_CLK_FREQ                12500000
> -#define CONFIG_ARMV7_SECURE_BASE     OCRAM_BASE_S_ADDR
>  
>  #define CONFIG_HWCONFIG
>  #define HWCONFIG_BUFFER_SIZE         128
> 

Zhuoyu,

I don't see how the secure code is reserved in RAM. You only remove
CONFIG_ARMV7_SECURE_BASE. Did I miss something?

York
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to