From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 25 Feb 2012 11:12:11 +0100 Subject: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures In-Reply-To: <1330084720-16878-1-git-send-email-amit.virdi@st.com> References: <1330084720-16878-1-git-send-email-amit.virdi@st.com> Message-ID: <4F48B3FB.20200@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Amit, Le 24/02/2012 12:58, Amit Virdi a ?crit : > From: Vipin Kumar > > Packed attribute is forcing a bytewise write on device registers, > there by, resulting in a misbehavior on gcc-4.4.1. > Reverting the structures to non-packed If (just asking, not asserting) the issue is caused by fields being u8 where u8 access is not possible, then should you not make the fields u16 / u32 according to access requirements? Amicalement, -- Albert.