From patchwork Thu Feb 14 10:48:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 220413 X-Patchwork-Delegate: andreas.biessmann@googlemail.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 41F022C0077 for ; Thu, 14 Feb 2013 21:49:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E780E4A156; Thu, 14 Feb 2013 11:49:27 +0100 (CET) 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 OFga7zgtXsI9; Thu, 14 Feb 2013 11:49:27 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 376624A158; Thu, 14 Feb 2013 11:49:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C7BA14A158 for ; Thu, 14 Feb 2013 11:49:24 +0100 (CET) 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 Xy87cRsxZbia for ; Thu, 14 Feb 2013 11:49:22 +0100 (CET) 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 mail-bk0-f45.google.com (mail-bk0-f45.google.com [209.85.214.45]) by theia.denx.de (Postfix) with ESMTPS id 406144A156 for ; Thu, 14 Feb 2013 11:49:20 +0100 (CET) Received: by mail-bk0-f45.google.com with SMTP id i18so985350bkv.4 for ; Thu, 14 Feb 2013 02:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=fNMbQjSgbvv+e8MK6R0dJrGebyVu6hTLLRRRBn+1mXg=; b=Rt1WCN50byLDrW3mh+nC+af72pwODckFgds4J+aMmJ/p0hFRrAHamJiv/x/jgoJ0Mn Eplz7Ys8u1brucVAWomjgfi0L7kgL0vl2dhIGX64RrjHGclX9I3/7cPPOXWZ9uWpWNH2 y45se9LGBFZmkECuhOrJ3T/rYob0LSKvR57b3XGuZurl3tzbZ2Dda+Na7c7hAO9KQ0Rn sb4lgHfSJc4891wSF9FJL3FBJeq7bVpGcodJ9y+D3UxbTsx8DZ0R9MqvmK1g1tP7Et8M bkc3XPLhwKuIzuTuuXmgZ+DnTzEhTUCAe8EkqR94xu/8eS7lo1HE3y6zeMdx3Y5ZkCkp L4OQ== X-Received: by 10.204.156.8 with SMTP id u8mr7946396bkw.78.1360838960243; Thu, 14 Feb 2013 02:49:20 -0800 (PST) Received: from localhost ([2a01:198:47b:1:210:75ff:fe1a:cd1e]) by mx.google.com with ESMTPS id v2sm4038434bkw.5.2013.02.14.02.49.18 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 14 Feb 2013 02:49:19 -0800 (PST) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: U-Boot ML Date: Thu, 14 Feb 2013 11:48:57 +0100 Message-Id: <1360838937-18765-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Cc: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= , Mark Jackson Subject: [U-Boot] [PATCH] avr32: fix compile warning 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Andreas Bießmann Commit 47a9789f25ce2bbc9860b3e11a09ecd79e4d9d46 introduced an compiler warning in arch/avr32/lib/board.c when setting the framebuffer address. This patch fixes this warning. Signed-off-by: Andreas Bießmann Cc: Simon Glass Cc: Mark Jackson Acked-by: Simon Glass --- arch/avr32/lib/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c index d3c8cb7..c12e8ba 100644 --- a/arch/avr32/lib/board.c +++ b/arch/avr32/lib/board.c @@ -211,11 +211,11 @@ void board_init_f(ulong board_type) #ifdef CONFIG_FB_ADDR printf("LCD: Frame buffer allocated at preset 0x%08x\n", CONFIG_FB_ADDR); - gd->fb_base = (void *)CONFIG_FB_ADDR; + gd->fb_base = CONFIG_FB_ADDR; #else addr = lcd_setmem(addr); printf("LCD: Frame buffer allocated at 0x%08lx\n", addr); - gd->fb_base = (void *)addr; + gd->fb_base = addr; #endif /* CONFIG_FB_ADDR */ #endif /* CONFIG_LCD */