mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30:32 +00:00
7d95f2a329
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>
31 lines
661 B
C
31 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_ */
|