diff options
author | Tom Rini <trini@ti.com> | 2013-06-07 08:35:36 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-07 08:35:36 -0400 |
commit | 47b8e527448c94d09fc8dbdb6601ea7a605ff955 (patch) | |
tree | adcd698c960e2001de700b09d7b0ec0a42616aec /board/raspberrypi | |
parent | 38d240dcf87923d49607ce2f243a0ac1c62612ca (diff) | |
parent | ea697ae7eb059d7467c6854ce562c31df510eb59 (diff) | |
download | u-boot-imx-47b8e527448c94d09fc8dbdb6601ea7a605ff955.zip u-boot-imx-47b8e527448c94d09fc8dbdb6601ea7a605ff955.tar.gz u-boot-imx-47b8e527448c94d09fc8dbdb6601ea7a605ff955.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-video
Diffstat (limited to 'board/raspberrypi')
-rw-r--r-- | board/raspberrypi/rpi_b/rpi_b.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/board/raspberrypi/rpi_b/rpi_b.c b/board/raspberrypi/rpi_b/rpi_b.c index 6b3e095..16d442a 100644 --- a/board/raspberrypi/rpi_b/rpi_b.c +++ b/board/raspberrypi/rpi_b/rpi_b.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2012 Stephen Warren + * (C) Copyright 2012-2013 Stephen Warren * * See file CREDITS for list of people who contributed to this * project. @@ -15,6 +15,8 @@ */ #include <common.h> +#include <config.h> +#include <lcd.h> #include <asm/arch/mbox.h> #include <asm/arch/sdhci.h> #include <asm/global_data.h> @@ -77,3 +79,13 @@ int board_mmc_init(void) return bcm2835_sdhci_init(BCM2835_SDHCI_BASE, msg_clk->get_clock_rate.body.resp.rate_hz); } + +void ft_board_setup(void *blob, bd_t *bd) +{ + /* + * For now, we simply always add the simplefb DT node. Later, we + * should be more intelligent, and e.g. only do this if no enabled DT + * node exists for the "real" graphics driver. + */ + lcd_dt_simplefb_add_node(blob); +} |