32b4950c61
Refactors all of the EEPROM drivers to use a shared driver class initialization priority configuration, CONFIG_EEPROM_INIT_PRIORITY, to allow configuring EEPROM drivers separately from other devices. This is similar to other driver classes like I2C and SPI. The default is set to CONFIG_KERNEL_INIT_PRIORITY_DEVICE to preserve the existing default initialization priority for most drivers. The exceptions are at2x and emul drivers which have dependencies on SPI, I2C, or flash drivers and must therefore initialize later than the default device priority. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
13 lines
428 B
Plaintext
13 lines
428 B
Plaintext
# Copyright (c) 2020 Laczen
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config EEPROM_EMULATOR
|
|
bool "Emulated EEPROM driver"
|
|
select FLASH
|
|
help
|
|
Enable emulated (on flash) EEPROM support. This mimics an external
|
|
EEPROM on a flash partition. The number of writes that can be
|
|
performed to the EEPROM is maximized by using a flash area that is
|
|
larger than the EEPROM area and by storing only changes to the EEPROM
|
|
data.
|