common: arm: freescale: layerscape: Move header files out of common.h
We should not have an arch-specific header file in common.h. Adjust the board files a little so it is not needed, and drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -31,13 +31,6 @@ typedef volatile unsigned char vu_char;
|
||||
#include <stdarg.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
#ifdef CONFIG_FSL_LSCH3
|
||||
#include <asm/arch/immap_lsch3.h>
|
||||
#endif
|
||||
#ifdef CONFIG_FSL_LSCH2
|
||||
#include <asm/arch/immap_lsch2.h>
|
||||
#endif
|
||||
|
||||
#include <part.h>
|
||||
#include <flash.h>
|
||||
#include <image.h>
|
||||
|
||||
@@ -121,4 +121,6 @@
|
||||
#define CONFIG_PANIC_HANG
|
||||
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
|
||||
|
||||
#include <asm/arch/soc.h>
|
||||
|
||||
#endif /* __LS1012A_COMMON_H */
|
||||
|
||||
@@ -300,4 +300,6 @@
|
||||
|
||||
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
|
||||
|
||||
#include <asm/arch/soc.h>
|
||||
|
||||
#endif /* __LS1043A_COMMON_H */
|
||||
|
||||
@@ -237,4 +237,6 @@
|
||||
|
||||
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
|
||||
|
||||
#include <asm/arch/soc.h>
|
||||
|
||||
#endif /* __LS1046A_COMMON_H */
|
||||
|
||||
@@ -250,4 +250,6 @@ unsigned long long get_qixis_addr(void);
|
||||
|
||||
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
|
||||
|
||||
#include <asm/arch/soc.h>
|
||||
|
||||
#endif /* __LS2_COMMON_H */
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
#ifdef CONFIG_FSL_IFC
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#ifdef CONFIG_ARM
|
||||
#include <asm/arch/soc.h>
|
||||
#endif
|
||||
|
||||
#define FSL_IFC_V1_1_0 0x01010000
|
||||
#define FSL_IFC_V2_0_0 0x02000000
|
||||
|
||||
Reference in New Issue
Block a user