From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiangfu Liu Date: Mon, 20 Aug 2012 13:37:35 +0800 Subject: [U-Boot] [U-Boot-DM] [PATCH 3/3] dm: mips: Fix warnings in lb60 board In-Reply-To: References: <1343415515-17755-1-git-send-email-marex@denx.de> <1343415515-17755-3-git-send-email-marex@denx.de> Message-ID: <5031CD1F.3090103@openmobilefree.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks Marek Vasu, Daniel Schwierzeck, Xiangfu On 08/20/2012 02:19 AM, Daniel Schwierzeck wrote: > 2012/7/27 Marek Vasut : >> The lb60 board accesses the clkgr register, which is 32bit via >> 16bit IO ops. This causes malfunction. Fix this. >> >> qi_lb60.c: In function ?cpm_init?: >> qi_lb60.c:72:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] >> qi_lb60.c:84:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] >> >> Signed-off-by: Marek Vasut >> Cc: Daniel >> Cc: Shinya Kuribayashi >> Cc: Xiangfu Liu >> --- >> board/qi/qi_lb60/qi_lb60.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > applied to u-boot-mips/master, thanks >