Hi! > +union dramaddrw_reg { > + struct { > + u32 cfg_col_addr_width:5; > + u32 cfg_row_addr_width:5; > + u32 cfg_bank_addr_width:4; > + u32 cfg_bank_group_addr_width:2; > + u32 cfg_cs_addr_width:3; > + u32 reserved:13; > + }; > + u32 word; > +};
Umm. Are you sure this is good idea? Is gcc allowed to do something funny and reorder bitfields in unexpected way? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot