Rewrote crt0, init, and chainloading code
start.s, init.c, linker.ld and linker.specs are meant to be re-used by user applications, should they remove the defines from init.c and the .chainloader* sections from the linker script
This commit is contained in:
@@ -188,9 +188,9 @@ void display_enable_backlight(bool on) {
|
||||
}
|
||||
|
||||
|
||||
u32 *display_init_framebuffer(void)
|
||||
u32 *display_init_framebuffer(void *address)
|
||||
{
|
||||
u32 *lfb_addr = (u32 *)0xC0000000;
|
||||
u32 *lfb_addr = (u32 *)address;
|
||||
|
||||
//This configures the framebuffer @ 0xC0000000 with a resolution of 1280x720 (line stride 768).
|
||||
exec_cfg((u32 *)DISPLAY_A_BASE, cfg_display_framebuffer, 32);
|
||||
|
||||
Reference in New Issue
Block a user