From patchwork Sun Jul 13 20:01:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Hofstee X-Patchwork-Id: 369438 X-Patchwork-Delegate: trini@ti.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 AFCDF1400F0 for ; Mon, 14 Jul 2014 06:02:14 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 23B10A741B; Sun, 13 Jul 2014 22:02:10 +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 2AzkPiBKkCHl; Sun, 13 Jul 2014 22:02:09 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B69E2A73EB; Sun, 13 Jul 2014 22:02:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AA3EDA73EB for ; Sun, 13 Jul 2014 22:02:02 +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 O0IEjwC4vH6b for ; Sun, 13 Jul 2014 22:01:59 +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 orange.myspectrum.nl (orange.myspectrum.nl [149.210.134.247]) by theia.denx.de (Postfix) with ESMTP id 7EF30A73E6 for ; Sun, 13 Jul 2014 22:01:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id 751A48DD8D; Sun, 13 Jul 2014 22:01:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at myspectrum.nl Received: from orange.myspectrum.nl ([127.0.0.1]) by localhost (orange.myspectrum.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4xd_s2--Z_Px; Sun, 13 Jul 2014 22:01:53 +0200 (CEST) Received: from yellow (ip136-5-208-87.adsl2.static.versatel.nl [87.208.5.136]) (Authenticated sender: jeroen@myspectrum.nl) by orange.myspectrum.nl (Postfix) with ESMTPSA id C4BB88D2DC; Sun, 13 Jul 2014 22:01:53 +0200 (CEST) Received: by yellow (Postfix, from userid 1000) id D155A743066; Sun, 13 Jul 2014 22:01:53 +0200 (CEST) From: Jeroen Hofstee To: u-boot@lists.denx.de Date: Sun, 13 Jul 2014 22:01:51 +0200 Message-Id: <1405281711-5689-1-git-send-email-jeroen@myspectrum.nl> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1405194030-5034-1-git-send-email-jeroen@myspectrum.nl> References: <1405194030-5034-1-git-send-email-jeroen@myspectrum.nl> Cc: Jeroen Hofstee Subject: [U-Boot] [PATCH v2] board: rpi_b: include mmc header and fix prototype 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 While at it add fdt_support.h as well. cc: Stephen Warren Signed-off-by: Jeroen Hofstee --- Changes since version 1: Add fdt_support.h which has the proto for ft_board_setup --- board/raspberrypi/rpi_b/rpi_b.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/raspberrypi/rpi_b/rpi_b.c b/board/raspberrypi/rpi_b/rpi_b.c index f33fae9..220bb90 100644 --- a/board/raspberrypi/rpi_b/rpi_b.c +++ b/board/raspberrypi/rpi_b/rpi_b.c @@ -16,7 +16,9 @@ #include #include +#include #include +#include #include #include #include @@ -91,7 +93,7 @@ int board_init(void) return power_on_module(BCM2835_MBOX_POWER_DEVID_USB_HCD); } -int board_mmc_init(void) +int board_mmc_init(bd_t *bis) { ALLOC_ALIGN_BUFFER(struct msg_get_clock_rate, msg_clk, 1, 16); int ret;