diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-13 22:01:51 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:24 -0400 |
commit | 5dfd162eea2954f4ff1d7683329774af5224bd69 (patch) | |
tree | d57efc538510dd27921a6a676869bcfc6028f964 /board/raspberrypi/rpi_b/rpi_b.c | |
parent | 750121c3506399e758849a4f37c772c3f317045f (diff) |
board: rpi_b: include mmc header and fix prototype
While at it add fdt_support.h as well.
cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'board/raspberrypi/rpi_b/rpi_b.c')
-rw-r--r-- | board/raspberrypi/rpi_b/rpi_b.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/raspberrypi/rpi_b/rpi_b.c b/board/raspberrypi/rpi_b/rpi_b.c index f33fae9170..220bb90dc1 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; |