summaryrefslogtreecommitdiff
path: root/env/env.c
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-10-10 21:59:40 +0300
committerTom Rini <trini@konsulko.com>2017-10-16 09:42:51 -0400
commit7b7341d7f3ee915c89a7f8ab7054e39872057d90 (patch)
tree083dc69cfdcc5867753c0caea1c4a4ed89b4bab1 /env/env.c
parentc005f7edbbc41b33de2c5f8d31a8c12d86ffdb59 (diff)
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 <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'env/env.c')
-rw-r--r--env/env.c4
1 files changed, 1 insertions, 3 deletions
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;