Corrections to AST Rampage

This commit is contained in:
Jasmine Iwanek
2024-06-01 23:57:22 -04:00
parent c39abcc09c
commit d0e01cfa5e

View File

@@ -1662,6 +1662,8 @@ static const device_t lotech_device = {
}; };
#if defined(DEV_BRANCH) && defined(USE_ISAMEM_RAMPAGE) #if defined(DEV_BRANCH) && defined(USE_ISAMEM_RAMPAGE)
// TODO: Dual Paging support
// TODO: Conventional memory suppport
static const device_config_t rampage_config[] = { static const device_config_t rampage_config[] = {
// clang-format off // clang-format off
{ {
@@ -1699,45 +1701,17 @@ static const device_config_t rampage_config[] = {
{ .description = "" } { .description = "" }
}, },
}, },
{
.name = "width",
.description = "I/O Width",
.type = CONFIG_SELECTION,
.default_string = "",
.default_int = 8,
.file_filter = "",
.spinner = { 0 },
.selection = {
{ .description = "8-bit", .value = 8 },
{ .description = "16-bit", .value = 16 },
{ .description = "" }
},
},
{
.name = "speed",
.description = "Transfer Speed",
.type = CONFIG_SELECTION,
.default_string = "",
.default_int = 0,
.file_filter = "",
.spinner = { 0 },
.selection = {
{ .description = "Standard", .value = 0 },
{ .description = "High-Speed", .value = 1 },
{ .description = "" }
}
},
{ {
.name = "size", .name = "size",
.description = "Memory Size", .description = "Memory Size",
.type = CONFIG_SPINNER, .type = CONFIG_SPINNER,
.default_string = "", .default_string = "",
.default_int = 128, .default_int = 256, /* Technically 128k, but banks 2-7 must be 256, headaches elsewise */
.file_filter = "", .file_filter = "",
.spinner = { .spinner = {
.min = 0, .min = 256,
.max = 8192, .max = 2048,
.step = 128 .step = 256
}, },
.selection = { { 0 } } .selection = { { 0 } }
}, },