From 7b7341d7f3ee915c89a7f8ab7054e39872057d90 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 10 Oct 2017 21:59:40 +0300 Subject: env: Drop CONFIG_ENV_IS_IN_DATAFLASH Last user of this option went away in commit: fdc7718999 ("board: usb_a9263: Update to support DT and DM") Signed-off-by: Tuomas Tynkkynen --- env/env.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'env/env.c') diff --git a/env/env.c b/env/env.c index 43290d0832..76a5608628 100644 --- a/env/env.c +++ b/env/env.c @@ -28,9 +28,7 @@ static struct env_driver *env_driver_lookup(enum env_location loc) static enum env_location env_get_default_location(void) { - if IS_ENABLED(CONFIG_ENV_IS_IN_DATAFLASH) - return ENVL_DATAFLASH; - else if IS_ENABLED(CONFIG_ENV_IS_IN_EEPROM) + if IS_ENABLED(CONFIG_ENV_IS_IN_EEPROM) return ENVL_EEPROM; else if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) return ENVL_FAT; -- cgit v1.2.3