From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 12 Aug 2010 14:21:33 +0200 Subject: [U-Boot] [PATCH] USB-CDC: correct wrong alignment in ether.c In-Reply-To: <4C63CE5B.9030707@mvista.com> References: <1281562849-6548-1-git-send-email-sbabic@denx.de> <4C63CE5B.9030707@mvista.com> Message-ID: <4C63E74D.9090608@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Sergei Shtylyov wrote: > Hello. > Hi Sergej, > Stefano Babic wrote: > >> The buffer for the status request must be word aligned >> because it is accessed with 32 bit pointer in the >> eth_status_complete function. > > You don't tell anything here about why the size of the array becomes > 16x with your patch... You are right, I missed to change the value back after some tests. STATUS_BYTECOUNT is correct, it is 16 byte and take care of space for data. I will change the size back. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================