summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-12-19 13:03:40 (GMT)
committerHans de Goede <hdegoede@redhat.com>2015-01-14 13:56:38 (GMT)
commit5f33993b7e9a3a3bfc6887780d4101e684b11359 (patch)
treec5653bf631e77aad1b04d9f4f51a8c6215e4a48b /include/configs
parentbe8ec6330627c8413e5bd15ccf6c32a98677e704 (diff)
downloadu-boot-fsl-qoriq-5f33993b7e9a3a3bfc6887780d4101e684b11359.tar.xz
sunxi: video: Add support for video-mode environment variable
Add support for the standard video-mode environment variable using the videomodes.c video_get_ctfb_res_modes() helper function. This will allow users to specify the resolution e.g. : setenv video-mode sunxi:video-mode=1280x1024-24@60 saveenv Also make the reserved fb mem slightly larger to allow 1920x1200 to work. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/sunxi-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4741b2e..77e37a8 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -205,7 +205,7 @@
* The amount of RAM that is reserved for the FB. This will not show up as
* RAM to the kernel, but will be reclaimed by a KMS driver in future.
*/
-#define CONFIG_SUNXI_FB_SIZE (8 << 20)
+#define CONFIG_SUNXI_FB_SIZE (9 << 20)
/* Do we want to initialize a simple FB? */
#define CONFIG_VIDEO_DT_SIMPLEFB