diff options
author | Scott Wood <scottwood@freescale.com> | 2015-03-20 19:28:12 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-23 08:55:56 -0700 |
commit | b991b981e04eddb30c47fe97fbcfb05099b4fd88 (patch) | |
tree | 6996f71da439721a7ba123d91c2a7793193eab57 /arch | |
parent | 12eaf31c0709840d6448d45ebfaecccadc34afa3 (diff) | |
download | u-boot-imx-b991b981e04eddb30c47fe97fbcfb05099b4fd88.zip u-boot-imx-b991b981e04eddb30c47fe97fbcfb05099b4fd88.tar.gz u-boot-imx-b991b981e04eddb30c47fe97fbcfb05099b4fd88.tar.bz2 |
fsl-lsch3: Introduce place for common early SoC init
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv8/fsl-lsch3/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/cpu/armv8/fsl-lsch3/soc.c | 14 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-fsl-lsch3/soc.h | 8 |
3 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/fsl-lsch3/Makefile b/arch/arm/cpu/armv8/fsl-lsch3/Makefile index f920eeb..6542590 100644 --- a/arch/arm/cpu/armv8/fsl-lsch3/Makefile +++ b/arch/arm/cpu/armv8/fsl-lsch3/Makefile @@ -6,6 +6,7 @@ obj-y += cpu.o obj-y += lowlevel.o +obj-y += soc.o obj-y += speed.o obj-$(CONFIG_MP) += mp.o obj-$(CONFIG_OF_LIBFDT) += fdt.o diff --git a/arch/arm/cpu/armv8/fsl-lsch3/soc.c b/arch/arm/cpu/armv8/fsl-lsch3/soc.c new file mode 100644 index 0000000..242a865 --- /dev/null +++ b/arch/arm/cpu/armv8/fsl-lsch3/soc.c @@ -0,0 +1,14 @@ +/* + * Copyright 2015 Freescale Semiconductor + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <fsl_ifc.h> +#include <asm/arch-fsl-lsch3/soc.h> + +void fsl_lsch3_early_init_f(void) +{ + init_early_memctl_regs(); /* tighten IFC timing */ +} diff --git a/arch/arm/include/asm/arch-fsl-lsch3/soc.h b/arch/arm/include/asm/arch-fsl-lsch3/soc.h new file mode 100644 index 0000000..16b723d --- /dev/null +++ b/arch/arm/include/asm/arch-fsl-lsch3/soc.h @@ -0,0 +1,8 @@ +/* + * Copyright 2015 Freescale Semiconductor + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +void fsl_lsch3_early_init_f(void); + |