diff mbox

[U-Boot,v2] board: rpi_b: include mmc header and fix prototype

Message ID 1405281711-5689-1-git-send-email-jeroen@myspectrum.nl
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Jeroen Hofstee July 13, 2014, 8:01 p.m. UTC
While at it add fdt_support.h as well.

cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
---
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(-)

Comments

Tom Rini July 21, 2014, 8:43 p.m. UTC | #1
On Sun, Jul 13, 2014 at 10:01:51PM +0200, Jeroen Hofstee wrote:

> While at it add fdt_support.h as well.
> 
> cc: Stephen Warren <swarren@wwwdotorg.org>
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
> 

Applied to u-boot/master, thanks!
diff mbox

Patch

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 <common.h>
 #include <config.h>
+#include <fdt_support.h>
 #include <lcd.h>
+#include <mmc.h>
 #include <asm/arch/mbox.h>
 #include <asm/arch/sdhci.h>
 #include <asm/global_data.h>
@@ -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;