device/generic/common
Revision | 2e13ef675a218dff9e50a1ebe7f26f11fd2eea3d (tree) |
---|---|
Time | 2018-10-16 20:09:58 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.sh: use video option if UVESA_MODE is not set
With this patch, it's also possible to set the resolution of uvesafb
via the standard video=<xres>x<yres> kernel cmdline.
@@ -128,6 +128,8 @@ function set_drm_mode() | ||
128 | 128 | |
129 | 129 | function init_uvesafb() |
130 | 130 | { |
131 | + UVESA_MODE=${UVESA_MODE:-${video%@*}} | |
132 | + | |
131 | 133 | case "$PRODUCT" in |
132 | 134 | ET2002*) |
133 | 135 | UVESA_MODE=${UVESA_MODE:-1600x900} |