From cd51cffb1d7f4f9d4434332f08b5be21cf602ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Silva?= Date: Wed, 28 Oct 2026 19:06:55 +0000 Subject: [PATCH] Add MAC offset for GT_ST024M and YS25_0402M MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Silva --- machine/PCB_SWTG024AS_A_2_0_1.c | 1 + machine/SIRIVISION_S25G2206FP_V1_1.c | 1 + 2 files changed, 2 insertions(+) diff --git a/machine/PCB_SWTG024AS_A_2_0_1.c b/machine/PCB_SWTG024AS_A_2_0_1.c index 56f26c57..1bf376a6 100644 --- a/machine/PCB_SWTG024AS_A_2_0_1.c +++ b/machine/PCB_SWTG024AS_A_2_0_1.c @@ -2,6 +2,7 @@ __code const struct machine machine = { MACHINE_COMMON_SETTING, + .mac_flash_offset = 0x1FC000, .n_sfp = 2, .log_to_phys_port = {0, 0, 0, 5, 1, 2, 3, 4, 6}, .phys_to_log_port = {4, 5, 6, 7, 3, 8, 0, 0, 0}, diff --git a/machine/SIRIVISION_S25G2206FP_V1_1.c b/machine/SIRIVISION_S25G2206FP_V1_1.c index 3f0db022..b7d5c36c 100644 --- a/machine/SIRIVISION_S25G2206FP_V1_1.c +++ b/machine/SIRIVISION_S25G2206FP_V1_1.c @@ -2,6 +2,7 @@ __code const struct machine machine = { MACHINE_COMMON_SETTING, + .mac_flash_offset = 0x1FC000, .n_sfp = 2, .log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5}, .phys_to_log_port = {4, 5, 6, 7, 8, 3, 0, 0, 0},