mx27: add missing constant for mx27
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr> Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org> Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
d9b8946035
commit
e24278aff2
|
@ -38,5 +38,10 @@ int main(void)
|
||||||
DEFINE(ESDCFG1_ROF, offsetof(struct esdramc_regs, esdcfg1));
|
DEFINE(ESDCFG1_ROF, offsetof(struct esdramc_regs, esdcfg1));
|
||||||
DEFINE(ESDMISC_ROF, offsetof(struct esdramc_regs, esdmisc));
|
DEFINE(ESDMISC_ROF, offsetof(struct esdramc_regs, esdmisc));
|
||||||
|
|
||||||
|
DEFINE(GPCR, IMX_SYSTEM_CTL_BASE +
|
||||||
|
offsetof(struct system_control_regs, gpcr));
|
||||||
|
DEFINE(FMCR, IMX_SYSTEM_CTL_BASE +
|
||||||
|
offsetof(struct system_control_regs, fmcr));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -169,7 +169,7 @@ struct iim_regs {
|
||||||
struct fuse_bank {
|
struct fuse_bank {
|
||||||
u32 fuse_regs[0x20];
|
u32 fuse_regs[0x20];
|
||||||
u32 fuse_rsvd[0xe0];
|
u32 fuse_rsvd[0xe0];
|
||||||
} bank[1];
|
} bank[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct fuse_bank0_regs {
|
struct fuse_bank0_regs {
|
||||||
|
@ -209,9 +209,13 @@ struct fuse_bank0_regs {
|
||||||
#define IIM_BASE_ADDR IMX_IIM_BASE
|
#define IIM_BASE_ADDR IMX_IIM_BASE
|
||||||
#define IMX_FEC_BASE (0x2b000 + IMX_IO_BASE)
|
#define IMX_FEC_BASE (0x2b000 + IMX_IO_BASE)
|
||||||
|
|
||||||
|
#define IMX_NFC_BASE (0xD8000000)
|
||||||
#define IMX_ESD_BASE (0xD8001000)
|
#define IMX_ESD_BASE (0xD8001000)
|
||||||
#define IMX_WEIM_BASE (0xD8002000)
|
#define IMX_WEIM_BASE (0xD8002000)
|
||||||
|
|
||||||
|
#define NFC_BASE_ADDR IMX_NFC_BASE
|
||||||
|
|
||||||
|
|
||||||
/* FMCR System Control bit definition*/
|
/* FMCR System Control bit definition*/
|
||||||
#define UART4_RXD_CTL (1 << 25)
|
#define UART4_RXD_CTL (1 << 25)
|
||||||
#define UART4_RTS_CTL (1 << 24)
|
#define UART4_RTS_CTL (1 << 24)
|
||||||
|
|
Loading…
Reference in New Issue