> > +struct cpu_type { > + char name[15]; > + u32 partid; > +}; > + > +#define CPU_TYPE_ENTRY(x) {#x, SPR_##x} > + > +struct cpu_type cpu_type_list [] = { > + CPU_TYPE_ENTRY(8311), > + CPU_TYPE_ENTRY(8313), > + CPU_TYPE_ENTRY(8314), > + CPU_TYPE_ENTRY(8315), > + CPU_TYPE_ENTRY(8321), > + CPU_TYPE_ENTRY(8323), > + CPU_TYPE_ENTRY(8343), > + CPU_TYPE_ENTRY(8347_TBGA_), > + CPU_TYPE_ENTRY(8347_PBGA_), > + CPU_TYPE_ENTRY(8349), > + CPU_TYPE_ENTRY(8358_TBGA_), > + CPU_TYPE_ENTRY(8358_PBGA_), > + CPU_TYPE_ENTRY(8360), > + CPU_TYPE_ENTRY(8377), > + CPU_TYPE_ENTRY(8378), > + CPU_TYPE_ENTRY(8379), > +}; > +
Global data, could become a problem if/when full relocation is impl. Not a big deal, just figured I should mention it. Jocke ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users