summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/include/asm/state.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:36:13 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commit6be88c72828923f2df8c441ee12f5829e0d06f32 (patch)
tree74f7feec5110c1b44a13804e032b988e7f97d71c /arch/sandbox/include/asm/state.h
parent96d0cd460430f18d0f22eead5409ed3dc53b4c4e (diff)
downloadu-boot-6be88c72828923f2df8c441ee12f5829e0d06f32.tar.gz
u-boot-6be88c72828923f2df8c441ee12f5829e0d06f32.tar.xz
u-boot-6be88c72828923f2df8c441ee12f5829e0d06f32.zip
sandbox: sdl: Add an option to double the screen size
On high-DPI displays U-Boot's LCD window can look very small. Add a -K flag to expand it to make things easier to read, while still using the existing resolution internally. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/sandbox/include/asm/state.h')
-rw-r--r--arch/sandbox/include/asm/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/state.h b/arch/sandbox/include/asm/state.h
index ad3e94beb9..705645d714 100644
--- a/arch/sandbox/include/asm/state.h
+++ b/arch/sandbox/include/asm/state.h
@@ -83,6 +83,7 @@ struct sandbox_state {
bool write_state; /* Write sandbox state on exit */
bool ignore_missing_state_on_read; /* No error if state missing */
bool show_lcd; /* Show LCD on start-up */
+ bool double_lcd; /* Double display size for high-DPI */
enum sysreset_t last_sysreset; /* Last system reset type */
bool sysreset_allowed[SYSRESET_COUNT]; /* Allowed system reset types */
enum state_terminal_raw term_raw; /* Terminal raw/cooked */