On 09/17/2015 12:02 AM, Gong Qianyu wrote: > From: Mingkai Hu <mingkai...@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...@freescale.com> > Signed-off-by: Gong Qianyu <qianyu.g...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot