diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-11-06 00:12:04 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-11-06 00:12:04 +0100 |
commit | 5017babb307122d8567ca78a5721e96c4d7ff8f2 (patch) | |
tree | 26ca7ac1d8a3608e364d59a203c32b81b16f92e3 /utils/nwztools/plattools/nwz_lib.h | |
parent | d492f25c54b4134fd6632156efee07670ab4004f (diff) | |
download | rockbox-5017babb307122d8567ca78a5721e96c4d7ff8f2.tar.gz rockbox-5017babb307122d8567ca78a5721e96c4d7ff8f2.zip |
nwztools/plattools: fix black screen issue in dualboot, rework dualboot
Sony added extensions to the frambuffer interface. It is important to take them
into account since the OF uses them and might leave the framebuffer in an
unusual state which would make the dualboot not display anything. Also rework
the dualboot code so that it can boot rockbox (not doing anything at the moment),
display all tools or boot the OF.
Change-Id: Ia0f589c9ec8558f375270841503c0964aff07f0b
Diffstat (limited to 'utils/nwztools/plattools/nwz_lib.h')
-rw-r--r-- | utils/nwztools/plattools/nwz_lib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/nwztools/plattools/nwz_lib.h b/utils/nwztools/plattools/nwz_lib.h index df0105a13d..9e7b8f16c2 100644 --- a/utils/nwztools/plattools/nwz_lib.h +++ b/utils/nwztools/plattools/nwz_lib.h | |||
@@ -85,6 +85,9 @@ void nwz_fb_close(int fb); | |||
85 | int nwz_fb_get_brightness(int fd, struct nwz_fb_brightness *bl); | 85 | int nwz_fb_get_brightness(int fd, struct nwz_fb_brightness *bl); |
86 | /* set backlight brightness (return -1 on error, 1 on success) */ | 86 | /* set backlight brightness (return -1 on error, 1 on success) */ |
87 | int nwz_fb_set_brightness(int fd, struct nwz_fb_brightness *bl); | 87 | int nwz_fb_set_brightness(int fd, struct nwz_fb_brightness *bl); |
88 | /* setup framebuffer to its standard mode: LCD output, page 0, no transparency | ||
89 | * and no rotation, 2D only updates */ | ||
90 | int nwz_fb_set_standard_mode(int fd); | ||
88 | 91 | ||
89 | /* open adc device */ | 92 | /* open adc device */ |
90 | int nwz_adc_open(void); | 93 | int nwz_adc_open(void); |