From patchwork Wed Aug 21 11:30:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Zalega X-Patchwork-Id: 268794 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id B948B2C00E5 for ; Wed, 21 Aug 2013 21:32:32 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 721AA4A07A; Wed, 21 Aug 2013 13:32:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CL2pp-+H9UQo; Wed, 21 Aug 2013 13:32:31 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 39FB04A065; Wed, 21 Aug 2013 13:32:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 874BE4A063 for ; Wed, 21 Aug 2013 13:32:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kBx3iWYt0-ns for ; Wed, 21 Aug 2013 13:32:17 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mailout3.w1.samsung.com (mailout3.w1.samsung.com [210.118.77.13]) by theia.denx.de (Postfix) with ESMTP id 7C7E04A065 for ; Wed, 21 Aug 2013 13:32:10 +0200 (CEST) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MRV00B2OPDF3R90@mailout3.w1.samsung.com> for u-boot@lists.denx.de; Wed, 21 Aug 2013 12:32:08 +0100 (BST) X-AuditID: cbfec7f4-b7f5f6d000000ff6-5c-5214a53871bb Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id F5.3D.04086.835A4125; Wed, 21 Aug 2013 12:32:08 +0100 (BST) Received: from kernelpanic.DIGITAL.local ([106.120.53.14]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MRV005LHPDJNP70@eusync2.samsung.com>; Wed, 21 Aug 2013 12:32:08 +0100 (BST) From: Mateusz Zalega To: u-boot@lists.denx.de Date: Wed, 21 Aug 2013 13:30:58 +0200 Message-id: <1377084658-24651-1-git-send-email-m.zalega@samsung.com> X-Mailer: git-send-email 1.8.2.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGJMWRmVeSWpSXmKPExsVy+t/xK7oWS0WCDH5/FrQ42/SG3WLuuylM Fh1HWhgtWtYeYLV4u7eT3YHV4+ydHYwefVtWMQYwRXHZpKTmZJalFunbJXBlPP05j6VgJUfF peXL2RsYW9m7GDk5JARMJD5vboOyxSQu3FvP1sXIxSEksJRR4uCjD0wgCSGBfiaJw5MyQGw2 AW2JG3vngzWICEhI/Oq/ygjSwCywilFi3b8PzCAJYQF7iReXf4I1swioSmx81cgKYvMKuEhM bNnCCrFNQeL49m2MExi5FzAyrGIUTS1NLihOSs811CtOzC0uzUvXS87P3cQI8fuXHYyLj1kd YhTgYFTi4b2gLBIkxJpYVlyZe4hRgoNZSYR3UTVQiDclsbIqtSg/vqg0J7X4ECMTB6dUAyO/ dK/u4yOr/+xZWOKXvcHsd2ZT1vn5KiKOTGFfrTJLc/80bDR9xrvujO4HS/fNDWuu15k6HvJM /8Eb+umyTc61tyYfQ1Lrq+VjVp3RWvk2RterIkN2dVcAG+cXr0vWhyctWqq7bd6vZfFSQjxO f2rvPN23IqO492ZlmKvORMaXiYyq6Xs5viuxFGckGmoxFxUnAgDdXAd32QEAAA== Cc: Kyungmin Park , Rajeshwari Shinde Subject: [U-Boot] [PATCH] exynos: ehci: added missing 'packed' attribute X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Structure exynos_usb_phy lacked __attribute__ ((packed)), which might have led to broken EHCI functionality in builds based on more recent compilers. Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Minkyu Kang Cc: Rajeshwari Shinde --- arch/arm/include/asm/arch-exynos/ehci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-exynos/ehci.h b/arch/arm/include/asm/arch-exynos/ehci.h index d79f25c..b76c57e 100644 --- a/arch/arm/include/asm/arch-exynos/ehci.h +++ b/arch/arm/include/asm/arch-exynos/ehci.h @@ -9,6 +9,7 @@ #ifndef __ASM_ARM_ARCH_EHCI_H__ #define __ASM_ARM_ARCH_EHCI_H__ +#include #define CLK_24MHZ 5 @@ -45,7 +46,7 @@ struct exynos_usb_phy { unsigned int usbotgsys; unsigned int reserved4; unsigned int usbotgtune; -}; +} __packed; /* Switch on the VBUS power. */ int board_usb_vbus_init(void);