mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Add a simple LCD driver which uses SDL to display the image. We update the image regularly, while still providing for reasonable performance. Adjust the common lcd code to support sandbox. For command-line runs we do not want the LCD to be displayed, so add a --show_lcd option to enable it. Tested-by: Che-Liang Chiou <clchiou@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
32 lines
661 B
C
32 lines
661 B
C
/*
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
*
|
|
* (C) Copyright 2002
|
|
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
|
* Marius Groeger <mgroeger@sysgo.de>
|
|
*
|
|
* (C) Copyright 2002
|
|
* Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
|
* Alex Zuepke <azu@sysgo.de>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _U_BOOT_SANDBOX_H_
|
|
#define _U_BOOT_SANDBOX_H_
|
|
|
|
/* board/.../... */
|
|
int board_init(void);
|
|
int dram_init(void);
|
|
|
|
/* start.c */
|
|
int sandbox_early_getopt_check(void);
|
|
int sandbox_main_loop_init(void);
|
|
|
|
int cleanup_before_linux(void);
|
|
|
|
/* drivers/video/sandbox_sdl.c */
|
|
int sandbox_lcd_sdl_early_init(void);
|
|
|
|
#endif /* _U_BOOT_SANDBOX_H_ */
|