All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch v2 01/16] ARMv7/ls1021a: move ns_access to common file
Date: Mon, 21 Sep 2015 10:26:50 -0700	[thread overview]
Message-ID: <56003DDA.8060500@freescale.com> (raw)
In-Reply-To: <1442473329-15047-1-git-send-email-Qianyu.Gong@freescale.com>



On 09/17/2015 12:02 AM, Gong Qianyu wrote:
> From: Mingkai Hu <Mingkai.Hu@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@freescale.com>
> Signed-off-by: Gong Qianyu <Qianyu.Gong@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

      reply	other threads:[~2015-09-21 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  7:02 [U-Boot] [Patch v2 01/16] ARMv7/ls1021a: move ns_access to common file Gong Qianyu
2015-09-21 17:26 ` York Sun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56003DDA.8060500@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.