restructure machine based upon new naming convention

This commit is contained in:
HL Yi committed 2026-10-30 15:53:09 -05:00
1 parent dd3503dd3e
commit cc72dae6ce
213 files changed
+990 -966

No files matched your search

-20
View File
@@ -1,20 +0,0 @@
#include "machine_init_defs.h"
void machine_custom_init(void) __banked
{
uint16_t pval;
reg_bit_set(RTL837X_REG_LED_GLB_IO_EN, 6);
reg_bit_set(RTL837X_REG_LED_MODE, 17);
reg_bit_clear(RTL837X_REG_LED_MODE, 9);
reg_bit_clear(RTL837X_REG_LED_MODE, 7);
// OEM firmware sets these companion SDS0 polarity bits for the RTL8221B.
sds_read(0, 0, 0);
pval = SFR_DATA_U16;
sds_write_v(0, 0, 0, pval | 0x100);
sds_read(0, 6, 2);
pval = SFR_DATA_U16;
sds_write_v(0, 6, 2, pval | 0x4000);
}
+1
View File
@@ -0,0 +1 @@
pcb/PCB_SWTG024AS_V2_0_16895_init.c