summaryrefslogtreecommitdiff
path: root/keyboards/akko/5108
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-14 00:13:19 +0100
committerGitHub <noreply@github.com>2023-09-14 09:13:19 +1000
commit00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch)
treeabbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/akko/5108
parent36b4e290c8dd1d6b0156c5730df36930890dc605 (diff)
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/akko/5108')
-rw-r--r--keyboards/akko/5108/config.h1
-rw-r--r--keyboards/akko/5108/info.json3
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/akko/5108/config.h b/keyboards/akko/5108/config.h
index 4c04933bcf..790830c88b 100644
--- a/keyboards/akko/5108/config.h
+++ b/keyboards/akko/5108/config.h
@@ -35,7 +35,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 IS31FL3733_DRIVER_COUNT 2
diff --git a/keyboards/akko/5108/info.json b/keyboards/akko/5108/info.json
index 74379db27b..ef3f85a1ec 100644
--- a/keyboards/akko/5108/info.json
+++ b/keyboards/akko/5108/info.json
@@ -29,7 +29,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 8192
}
},
"indicators": {