[U-Boot] [Patch v2 01/16] ARMv7/ls1021a: move ns_access to common file

York Sun yorksun at freescale.com
Mon Sep 21 19:26:50 CEST 2015



On 09/17/2015 12:02 AM, Gong Qianyu wrote:
> From: Mingkai Hu <Mingkai.Hu at freescale.com>
> 
> Config Security Level Register is different between different SoCs,
> so put the CSL register definition into the arch speicific directory.

s/speicific/specific

> 
> Signed-off-by: Mingkai Hu <Mingkai.Hu at freescale.com>
> Signed-off-by: Gong Qianyu <Qianyu.Gong at freescale.com>
> ---
> V2:
> Create include/fsl_csu.h instead of board/freescale/common/ns_access.h
> 
> arch/arm/include/asm/arch-ls102xa/ns_access.h | 103 ++++++++++++++++++++------
>  board/freescale/common/Makefile               |   2 +-
>  board/freescale/common/ns_access.c            |   8 +-
>  board/freescale/ls1021aqds/ls1021aqds.c       | 101 ++-----------------------
>  board/freescale/ls1021atwr/ls1021atwr.c       |  92 +----------------------
>  include/configs/ls1021aqds.h                  |   2 +-
>  include/configs/ls1021atwr.h                  |   2 +-
>  include/fsl_csu.h                             |  34 +++++++++
>  8 files changed, 136 insertions(+), 208 deletions(-)
> 

<snip>

> diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c
> index 228dbf8..034cd44 100644
> --- a/board/freescale/ls1021atwr/ls1021atwr.c
> +++ b/board/freescale/ls1021atwr/ls1021atwr.c
> @@ -8,7 +8,6 @@
>  #include <i2c.h>
>  #include <asm/io.h>
>  #include <asm/arch/immap_ls102xa.h>
> -#include <asm/arch/ns_access.h>
>  #include <asm/arch/clock.h>
>  #include <asm/arch/fsl_serdes.h>
>  #include <asm/arch/ls102xa_stream_id.h>
> @@ -23,6 +22,7 @@
>  #include <tsec.h>
>  #include <fsl_sec.h>
>  #include <fsl_devdis.h>
> +#include <fsl_csu.h>

It's better to keep the order sorted, if possible, if you ever respin this patch.

York


More information about the U-Boot mailing list