diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2015-07-08 12:15:39 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-20 07:11:21 +0200 |
commit | 27f79c05ab4256007ae5096452c543c2bf5f2347 (patch) | |
tree | 5cf685684998502e86fe45e99c4549b95d986716 /include | |
parent | cfec57d89808343bb6b043955e39411a0e29be5d (diff) | |
download | barebox-27f79c05ab4256007ae5096452c543c2bf5f2347.tar.gz barebox-27f79c05ab4256007ae5096452c543c2bf5f2347.tar.xz |
video: implement framebuffer console
This patch realizes framebuffer console support for barebox. It
supports colors and enough escape sequences to show the barebox
console and editor properly.
fbconsole mini-HOWTO
====================
1. compile sandbox barebox with
CONFIG_VIDEO=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_DRIVER_VIDEO_SDL=y
2. run barebox
3. test fbconsole
fbconsole0.active=oe
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fb.h b/include/fb.h index 92216188f2..27894db981 100644 --- a/include/fb.h +++ b/include/fb.h @@ -163,4 +163,6 @@ int edid_to_display_timings(struct display_timings *, unsigned char *edid); void *edid_read_i2c(struct i2c_adapter *adapter); void fb_edid_add_modes(struct fb_info *info); +int register_fbconsole(struct fb_info *fb); + #endif /* __FB_H */ |