From 1efc79063c5bc5fae6766f7555738b122ef8988d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 13 Nov 2023 22:30:19 +0000 Subject: Migrate some EEPROM config to info.json (#22434) --- keyboards/akko/5087/config.h | 1 - keyboards/akko/5087/info.json | 7 +++++++ keyboards/akko/5087/rules.mk | 4 +--- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'keyboards/akko/5087') 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 -- cgit v1.2.3