[U-Boot] [Patch V6 01/18] armv7/ls1021a: move ns_access to common file

York Sun yorksun at freescale.com
Wed Oct 21 18:43:14 CEST 2015



On 10/19/2015 04:58 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 specific directory.
> 
> Signed-off-by: Mingkai Hu <Mingkai.Hu at freescale.com>
> Signed-off-by: Gong Qianyu <Qianyu.Gong at freescale.com>
> ---
> V6:
>  - No change.
> V5:
>  - No change.
> V4:
>  - No change.
> V3:
>  - No change.
> 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/common/Makefile b/board/freescale/common/Makefile
> index 87d0578..51d2814 100644
> --- a/board/freescale/common/Makefile
> +++ b/board/freescale/common/Makefile
> @@ -71,7 +71,7 @@ obj-$(CONFIG_P4080DS)	+= p_corenet/
>  obj-$(CONFIG_P5020DS)	+= p_corenet/
>  obj-$(CONFIG_P5040DS)	+= p_corenet/
>  
> -obj-$(CONFIG_LS102XA_NS_ACCESS)	+= ns_access.o
> +obj-$(CONFIG_LAYERSCAPE_NS_ACCESS)	+= ns_access.o

Looks like you missed two #ifdef CONFIG_LS102XA_NS_ACCESS in
board/freescale/ls1021atwr/ls1021atwr.c.

York


More information about the U-Boot mailing list