mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
77810e638e
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);
|