diff options
author | Yao Yuan <yao.yuan@freescale.com> | 2015-12-05 14:59:10 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-12-13 18:27:29 -0800 |
commit | 7ba0261810dd8924f0aeeb4cf2f12253106170b3 (patch) | |
tree | 1cf86bc331ba68d296367405341a4bfaea8b065b /arch/arm/include/asm/arch-ls102xa | |
parent | b1f6be5ac8d657e312528ec3c4138c22c54d3f12 (diff) |
arm: ls1021a: merge SoC specific code in a separate file
Create a soc.c file to put the code for soc special settings.
Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-ls102xa')
-rw-r--r-- | arch/arm/include/asm/arch-ls102xa/ls102xa_soc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-ls102xa/ls102xa_soc.h b/arch/arm/include/asm/arch-ls102xa/ls102xa_soc.h new file mode 100644 index 0000000000..f10cb91f4b --- /dev/null +++ b/arch/arm/include/asm/arch-ls102xa/ls102xa_soc.h @@ -0,0 +1,12 @@ +/* + * Copyright 2015 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __FSL_LS102XA_SOC_H +#define __FSL_LS102XA_SOC_H + +unsigned int get_soc_major_rev(void); +int arch_soc_init(void); +#endif /* __FSL_LS102XA_SOC_H */ |