#ifdef CONFIG_FSL_IFC
#include <config.h>
#include <common.h>
+#include <part.h>
#ifdef CONFIG_ARM
#include <asm/arch/soc.h>
#endif
/* Machine Select */
#define CSPR_MSEL 0x00000006
#define CSPR_MSEL_SHIFT 1
+/* External Transceiver Enable */
+#define CSPR_TE 0x00000010
/* NOR */
#define CSPR_MSEL_NOR 0x00000000
/* NAND */
struct fsl_ifc_runtime *rregs;
};
+struct ifc_regs {
+ const char *name;
+ u32 pr;
+ u32 pr_ext;
+ u32 amask;
+ u32 or;
+ u32 ftim[4];
+ u32 or_ext;
+ u32 pr_final;
+ u32 amask_final;
+};
+
+struct ifc_regs_info {
+ struct ifc_regs *regs;
+ u32 cs_size;
+};
+
#ifdef CONFIG_SYS_FSL_ERRATUM_IFC_A002769
#undef CSPR_MSEL_NOR
#define CSPR_MSEL_NOR CSPR_MSEL_GPCM