From: Jeroen Hofstee Date: Sun, 13 Jul 2014 22:01:51 +0200 Subject: [U-Boot] [PATCH v2] board: rpi_b: include mmc header and fix prototype In-Reply-To: <1405194030-5034-1-git-send-email-jeroen@myspectrum.nl> References: <1405194030-5034-1-git-send-email-jeroen@myspectrum.nl> Message-ID: <1405281711-5689-1-git-send-email-jeroen@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@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; -- 1.8.3.2