Angel Pons | 32859fc | 2020-04-02 23:48:27 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Johanna Schander | db7a3ae | 2019-07-24 10:14:26 +0200 | [diff] [blame] | 3 | |
| 4 | #ifndef __BOOTSPLASH_H__ |
| 5 | #define __BOOTSPLASH_H__ |
| 6 | |
| 7 | #include <types.h> |
| 8 | |
| 9 | /** |
Johanna Schander | db7a3ae | 2019-07-24 10:14:26 +0200 | [diff] [blame] | 10 | * Sets up the framebuffer with the bootsplash.jpg from cbfs. |
| 11 | * Returns 0 on success |
| 12 | * CB_ERR on cbfs errors |
| 13 | * and >0 on jpeg errors. |
| 14 | */ |
| 15 | void set_bootsplash(unsigned char *framebuffer, unsigned int x_resolution, |
| 16 | unsigned int y_resolution, unsigned int fb_resolution); |
| 17 | |
| 18 | #endif |