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
This commit is contained in:
MaxwellS04
2025-05-30 23:20:50 +07:00
parent 138e54d16f
commit 3ac92ccf4f

View File

@@ -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,