diff options
author | Andre Heider <a.heider@gmail.com> | 2013-11-05 00:01:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-06 09:59:05 +0100 |
commit | 91b3761ec87a0194b7cb7a0b5ed983504c876195 (patch) | |
tree | 7b678a8866975e63e83af3894a763aa1609d4e39 /arch/arm/mach-bcm2835 | |
parent | 5e9596f3ad2e1b26ceed368a9b21f84839606617 (diff) | |
download | barebox-91b3761ec87a0194b7cb7a0b5ed983504c876195.tar.gz barebox-91b3761ec87a0194b7cb7a0b5ed983504c876195.tar.xz |
video: add a BCM2835 framebuffer driver
Use the mailbox driver to set up a framebuffer based on the firmware
configuration.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm2835')
-rw-r--r-- | arch/arm/mach-bcm2835/include/mach/core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm2835/include/mach/core.h b/arch/arm/mach-bcm2835/include/mach/core.h index a095db8631..477ecb977c 100644 --- a/arch/arm/mach-bcm2835/include/mach/core.h +++ b/arch/arm/mach-bcm2835/include/mach/core.h @@ -27,4 +27,9 @@ static void inline bcm2835_register_mci(void) IORESOURCE_MEM, NULL); } +static void inline bcm2835_register_fb(void) +{ + add_generic_device("bcm2835_fb", 0, NULL, 0, 0, 0, NULL); +} + #endif |