From 3ac92ccf4fefe71d415f5dbc5921e5d541534478 Mon Sep 17 00:00:00 2001 From: MaxwellS04 Date: Fri, 30 May 2025 23:20:50 +0700 Subject: [PATCH] Assorted Cirrus fixes 1. Correct the linear framebuffer setting on VLB Cirrus chips; should fix segfaults when you use them with default configuration 2. Add the "On-Board" name and correct internal_name to the onboard Cirrus Logic GD5420 --- src/video/vid_cl54xx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/video/vid_cl54xx.c b/src/video/vid_cl54xx.c index 0d02c10c3..2377e792b 100644 --- a/src/video/vid_cl54xx.c +++ b/src/video/vid_cl54xx.c @@ -4796,7 +4796,7 @@ static const device_config_t gd5430_vlb_config[] = { .description = "Linear framebuffer base", .type = CONFIG_SELECTION, .default_string = NULL, - .default_int = 2, + .default_int = 2048, .file_filter = NULL, .spinner = { 0 }, .selection = { @@ -4871,7 +4871,7 @@ static const device_config_t gd5434_vlb_config[] = { .description = "Linear framebuffer base", .type = CONFIG_SELECTION, .default_string = NULL, - .default_int = 2, + .default_int = 2048, .file_filter = NULL, .spinner = { 0 }, .selection = { @@ -4982,8 +4982,8 @@ const device_t gd5420_isa_device = { }; const device_t gd5420_onboard_device = { - .name = "Cirrus Logic GD5420 (ISA)", - .internal_name = "cl_gd5420_isa", + .name = "Cirrus Logic GD5420 (ISA) (On-Board)", + .internal_name = "cl_gd5420_onboard", .flags = DEVICE_ISA16, .local = CIRRUS_ID_CLGD5420 | 0x200, .init = gd54xx_init,