> > > > > +#define INTREG_BASE 0xd0000000 > > > +#define KW_REGISTER(x) (KW_REGS_PHY_BASE + x) > > > +#define KW_OFFSET_REG (INTREG_BASE + 0x20080) > > > + > > > +/* undocumented registers */ > > > +#define KW_REG_UNDOC_0x1470 (KW_REGISTER(0x1470)) > > > +#define KW_REG_UNDOC_0x1478 (KW_REGISTER(0x1478)) > > > + > > > +#define KW_UART0_BASE (KW_REGISTER(0x12000)) > > > +#define KW_UART1_BASE (KW_REGISTER(0x13000)) > > > +#define KW_MPP_BASE (KW_REGISTER(0x10000)) > > > +#define KW_GPIO0_BASE (KW_REGISTER(0x10100)) > > > +#define KW_GPIO1_BASE (KW_REGISTER(0x10140)) > > > +#define KW_CPU_WIN_BASE (KW_REGISTER(0x20000)) > > > +#define KW_CPU_REG_BASE (KW_REGISTER(0x20100)) > > > +#define KW_TIMER_BASE (KW_REGISTER(0x20300)) > > > +#define KW_REG_PCIE_BASE (KW_REGISTER(0x40000)) > > > +#define KW_EGIGA0_BASE (KW_REGISTER(0x72000)) > > > +#define KW_EGIGA1_BASE (KW_REGISTER(0x76000)) > > > > Use a C struct? > These are the Base address referred by register structures. > Generally this type of declaration used for other cpu/socs. > May you point any reference for this?
Hi Wolfgang Denk I have almost done with other changes except this one Do this really need to be converted C struct? I will have to put some efforts to get it done :-(. Regards.. Prafulla . . _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot