mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 22:14:54 +00:00
imx6: aristainetos: Remove misuse of env is nowhere driver
When using a list of writeable variables, the initial values come from
the built-in default environment since commit 5ab8105836
("env: Complete generic support for writable list"). Remove unnecessary
misuse of the env is nowhere driver as default environment.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
This commit is contained in:
parent
5d0b3dde11
commit
78b54e323f
3 changed files with 0 additions and 22 deletions
|
@ -30,7 +30,6 @@
|
||||||
#include <bmp_logo.h>
|
#include <bmp_logo.h>
|
||||||
#include <dm/root.h>
|
#include <dm/root.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <env_internal.h>
|
|
||||||
#include <i2c_eeprom.h>
|
#include <i2c_eeprom.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <micrel.h>
|
#include <micrel.h>
|
||||||
|
@ -529,22 +528,3 @@ int embedded_dtb_select(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum env_location env_get_location(enum env_operation op, int prio)
|
|
||||||
{
|
|
||||||
if (op == ENVOP_SAVE || op == ENVOP_ERASE)
|
|
||||||
return ENVL_SPI_FLASH;
|
|
||||||
|
|
||||||
switch (prio) {
|
|
||||||
case 0:
|
|
||||||
return ENVL_NOWHERE;
|
|
||||||
|
|
||||||
case 1:
|
|
||||||
return ENVL_SPI_FLASH;
|
|
||||||
|
|
||||||
default:
|
|
||||||
return ENVL_UNKNOWN;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ENVL_UNKNOWN;
|
|
||||||
}
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ CONFIG_OF_CONTROL=y
|
||||||
CONFIG_DTB_RESELECT=y
|
CONFIG_DTB_RESELECT=y
|
||||||
CONFIG_MULTI_DTB_FIT=y
|
CONFIG_MULTI_DTB_FIT=y
|
||||||
CONFIG_ENV_OVERWRITE=y
|
CONFIG_ENV_OVERWRITE=y
|
||||||
CONFIG_ENV_IS_NOWHERE=y
|
|
||||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
CONFIG_ENV_SPI_EARLY=y
|
CONFIG_ENV_SPI_EARLY=y
|
||||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||||
|
|
|
@ -59,7 +59,6 @@ CONFIG_OF_CONTROL=y
|
||||||
CONFIG_DTB_RESELECT=y
|
CONFIG_DTB_RESELECT=y
|
||||||
CONFIG_MULTI_DTB_FIT=y
|
CONFIG_MULTI_DTB_FIT=y
|
||||||
CONFIG_ENV_OVERWRITE=y
|
CONFIG_ENV_OVERWRITE=y
|
||||||
CONFIG_ENV_IS_NOWHERE=y
|
|
||||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
CONFIG_ENV_SPI_EARLY=y
|
CONFIG_ENV_SPI_EARLY=y
|
||||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue