summaryrefslogtreecommitdiff
path: root/keyboards/akko
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-13 22:30:19 +0000
committerGitHub <noreply@github.com>2023-11-14 09:30:19 +1100
commit1efc79063c5bc5fae6766f7555738b122ef8988d (patch)
treee1fdbc9f288736477a067f3094fe3280d2857325 /keyboards/akko
parentde3c42125b661f62757f8ee4f6184c089340d3a0 (diff)
Migrate some EEPROM config to info.json (#22434)
Diffstat (limited to 'keyboards/akko')
-rw-r--r--keyboards/akko/5087/config.h1
-rw-r--r--keyboards/akko/5087/info.json7
-rw-r--r--keyboards/akko/5087/rules.mk4
3 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/akko/5087/config.h b/keyboards/akko/5087/config.h
index 50a1f224f8..3a6b7030ee 100644
--- a/keyboards/akko/5087/config.h
+++ b/keyboards/akko/5087/config.h
@@ -34,7 +34,6 @@
#define SPI_MOSI_PAL_MODE 5
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
-#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)
/* I2C Config for LED Driver */
#define DRIVER_COUNT 2
diff --git a/keyboards/akko/5087/info.json b/keyboards/akko/5087/info.json
index 43bec927db..1b4059b0d5 100644
--- a/keyboards/akko/5087/info.json
+++ b/keyboards/akko/5087/info.json
@@ -29,6 +29,13 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
+ "eeprom": {
+ "driver": "wear_leveling",
+ "wear_leveling": {
+ "driver": "spi_flash",
+ "backing_size": 8192
+ }
+ },
"indicators": {
"caps_lock": "A15"
},
diff --git a/keyboards/akko/5087/rules.mk b/keyboards/akko/5087/rules.mk
index 0dc7a33142..6e7633bfe0 100644
--- a/keyboards/akko/5087/rules.mk
+++ b/keyboards/akko/5087/rules.mk
@@ -1,3 +1 @@
-EEPROM_DRIVER = wear_leveling
-WEAR_LEVELING_DRIVER = spi_flash
-
+# This file intentionally left blank