mirror of
https://xff.cz/git/u-boot/
synced 2025-09-17 00:22:07 +02:00
imx6q: acc: 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:
committed by
Tom Rini
parent
78b54e323f
commit
b16fd7f75f
@@ -12,7 +12,6 @@
|
|||||||
#include <dm/platform_data/serial_mxc.h>
|
#include <dm/platform_data/serial_mxc.h>
|
||||||
#include <dm/device-internal.h>
|
#include <dm/device-internal.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <env_internal.h>
|
|
||||||
#include <hang.h>
|
#include <hang.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
@@ -236,22 +235,6 @@ static void unset_early_gpio(void)
|
|||||||
gpio_set_value(GPIO_TOUCH_RESET, 1);
|
gpio_set_value(GPIO_TOUCH_RESET, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum env_location env_get_location(enum env_operation op, int prio)
|
|
||||||
{
|
|
||||||
if (op == ENVOP_SAVE || op == ENVOP_ERASE)
|
|
||||||
return ENVL_MMC;
|
|
||||||
|
|
||||||
switch (prio) {
|
|
||||||
case 0:
|
|
||||||
return ENVL_NOWHERE;
|
|
||||||
|
|
||||||
case 1:
|
|
||||||
return ENVL_MMC;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ENVL_UNKNOWN;
|
|
||||||
}
|
|
||||||
|
|
||||||
int board_late_init(void)
|
int board_late_init(void)
|
||||||
{
|
{
|
||||||
struct board_info *binfo = detect_board();
|
struct board_info *binfo = detect_board();
|
||||||
|
@@ -77,7 +77,6 @@ CONFIG_SPL_OF_CONTROL=y
|
|||||||
CONFIG_MULTI_DTB_FIT=y
|
CONFIG_MULTI_DTB_FIT=y
|
||||||
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt-parent"
|
CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt-parent"
|
||||||
CONFIG_ENV_OVERWRITE=y
|
CONFIG_ENV_OVERWRITE=y
|
||||||
CONFIG_ENV_IS_NOWHERE=y
|
|
||||||
CONFIG_ENV_IS_IN_MMC=y
|
CONFIG_ENV_IS_IN_MMC=y
|
||||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||||
CONFIG_SYS_MMC_ENV_PART=1
|
CONFIG_SYS_MMC_ENV_PART=1
|
||||||
|
Reference in New Issue
Block a user