summaryrefslogtreecommitdiffstats
path: root/include/configs/rpi_b.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2013-05-27 18:31:18 +0000
committerAnatolij Gustschin <agust@denx.de>2013-06-05 22:40:38 +0200
commitea697ae7eb059d7467c6854ce562c31df510eb59 (patch)
treefbf140d85bc9751ed4c487498d956cad3ee5f739 /include/configs/rpi_b.h
parent6a195d2d8a9c321817e1f034afcdc8c8642664bc (diff)
downloadblackbird-obmc-uboot-ea697ae7eb059d7467c6854ce562c31df510eb59.tar.gz
blackbird-obmc-uboot-ea697ae7eb059d7467c6854ce562c31df510eb59.zip
ARM: bcm2835: add simplefb DT node during bootz/m
Add a DT simple-framebuffer node to DT when booting the Linux kernel. This will allow the kernel to inherit the framebuffer configuration from U-Boot, and display a graphical boot console, and even run a full SW- rendered X server. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/rpi_b.h')
-rw-r--r--include/configs/rpi_b.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index c18b35b057..216c6cb70b 100644
--- a/include/configs/rpi_b.h
+++ b/include/configs/rpi_b.h
@@ -61,6 +61,7 @@
#define CONFIG_BCM2835_GPIO
/* LCD */
#define CONFIG_LCD
+#define CONFIG_LCD_DT_SIMPLEFB
#define LCD_BPP LCD_COLOR16
/*
* Prevent allocation of RAM for FB; the real FB address is queried
@@ -175,6 +176,7 @@
/* Device tree support for bootm/bootz */
#define CONFIG_OF_LIBFDT
+#define CONFIG_OF_BOARD_SETUP
/* ATAGs support for bootm/bootz */
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_CMDLINE_TAG
OpenPOWER on IntegriCloud