mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-24 02:48:51 +09:00
![Stefan Agner](/assets/img/avatar_default.png)
Fix the framebuffer location to the very end of the available memory.
This allows to remove the area from available memory for the kernel,
which in turn allows to display the splash screen through the Linux
kernel boot process.
Ideas has been taken from the sunxi display driver, e.g.
20779ec3a5
("sunxi: video: Dynamically reserve framebuffer memory")
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
18 lines
515 B
C
18 lines
515 B
C
/*
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
*
|
|
* FSL DCU Framebuffer driver
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#include <linux/fb.h>
|
|
|
|
int fsl_dcu_init(unsigned int xres, unsigned int yres,
|
|
unsigned int pixel_format);
|
|
int fsl_dcu_fixedfb_setup(void *blob);
|
|
|
|
/* Prototypes for external board-specific functions */
|
|
int platform_dcu_init(unsigned int xres, unsigned int yres,
|
|
const char *port, struct fb_videomode *dcu_fb_videomode);
|
|
unsigned int dcu_set_pixel_clock(unsigned int pixclock);
|