blob: 5e860e995004adf83ee3704e7ee10de0d92eebdc [file] [log] [blame]
Angel Pons32859fc2020-04-02 23:48:27 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Johanna Schanderdb7a3ae2019-07-24 10:14:26 +02003
4#ifndef __BOOTSPLASH_H__
5#define __BOOTSPLASH_H__
6
7#include <types.h>
8
9/**
Johanna Schanderdb7a3ae2019-07-24 10:14:26 +020010 * 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 */
15void set_bootsplash(unsigned char *framebuffer, unsigned int x_resolution,
16 unsigned int y_resolution, unsigned int fb_resolution);
17
18#endif