Commit b991b981 authored by Scott Wood's avatar Scott Wood Committed by York Sun
Browse files

fsl-lsch3: Introduce place for common early SoC init


Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
parent 12eaf31c
......@@ -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
/*
* 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 */
}
/*
* Copyright 2015 Freescale Semiconductor
*
* SPDX-License-Identifier: GPL-2.0+
*/
void fsl_lsch3_early_init_f(void);
......@@ -15,6 +15,7 @@
#include <fsl_debug_server.h>
#include <fsl-mc/fsl_mc.h>
#include <environment.h>
#include <asm/arch-fsl-lsch3/soc.h>
DECLARE_GLOBAL_DATA_PTR;
......@@ -31,8 +32,7 @@ int board_init(void)
int board_early_init_f(void)
{
init_early_memctl_regs(); /* tighten IFC timing */
fsl_lsch3_early_init_f();
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment