summaryrefslogtreecommitdiff
path: root/keyboards/inland
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/inland
parent36b4e290c8dd1d6b0156c5730df36930890dc605 (diff)
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/inland')
-rw-r--r--keyboards/inland/kb83/config.h1
-rw-r--r--keyboards/inland/kb83/info.json3
-rw-r--r--keyboards/inland/mk47/config.h1
-rw-r--r--keyboards/inland/mk47/info.json3
4 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/inland/kb83/config.h b/keyboards/inland/kb83/config.h
index e1b6702bd8..ed1f3cf160 100644
--- a/keyboards/inland/kb83/config.h
+++ b/keyboards/inland/kb83/config.h
@@ -36,7 +36,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/inland/kb83/info.json b/keyboards/inland/kb83/info.json
index 33545515ad..cd538ef4ee 100644
--- a/keyboards/inland/kb83/info.json
+++ b/keyboards/inland/kb83/info.json
@@ -21,7 +21,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 8192
}
},
"encoder": {
diff --git a/keyboards/inland/mk47/config.h b/keyboards/inland/mk47/config.h
index 7004b38e63..db9aea328f 100644
--- a/keyboards/inland/mk47/config.h
+++ b/keyboards/inland/mk47/config.h
@@ -23,7 +23,6 @@
#define SPI_MISO_PIN B4
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
-#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
/* I2C Config for LED Driver */
#define IS31FL3733_DRIVER_COUNT 1
diff --git a/keyboards/inland/mk47/info.json b/keyboards/inland/mk47/info.json
index 2ed18eac3b..7d94365724 100644
--- a/keyboards/inland/mk47/info.json
+++ b/keyboards/inland/mk47/info.json
@@ -29,7 +29,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 4096
}
},
"rgb_matrix": {