From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 21 Oct 2015 09:43:14 -0700 Subject: [U-Boot] [Patch V6 01/18] armv7/ls1021a: move ns_access to common file In-Reply-To: <1445255949-25021-2-git-send-email-b52263@rhuath.am.freescale.net> References: <1445255949-25021-1-git-send-email-b52263@rhuath.am.freescale.net> <1445255949-25021-2-git-send-email-b52263@rhuath.am.freescale.net> Message-ID: <5627C0A2.5040100@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/19/2015 04:58 AM, Gong Qianyu wrote: > From: Mingkai Hu > > 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 > Signed-off-by: Gong Qianyu > --- > 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(-) > > 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