summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2023-05-02 12:23:03 +0200
committerTom Rini <trini@konsulko.com>2023-05-16 16:12:21 -0400
commitb16fd7f75f6d213a42a4dfca7ae63b66dfb0f973 (patch)
tree9d272041fe0bd7ce72ba5c89388da663340f2c19 /board
parent78b54e323f8357fd8dce758fba5c2256333ab6e6 (diff)
downloadu-boot-b16fd7f75f6d213a42a4dfca7ae63b66dfb0f973.tar.gz
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 5ab81058364b ("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>
Diffstat (limited to 'board')
-rw-r--r--board/bosch/acc/acc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/board/bosch/acc/acc.c b/board/bosch/acc/acc.c
index 4a0603d0f3..732d823826 100644
--- a/board/bosch/acc/acc.c
+++ b/board/bosch/acc/acc.c
@@ -12,7 +12,6 @@
#include <dm/platform_data/serial_mxc.h>
#include <dm/device-internal.h>
#include <env.h>
-#include <env_internal.h>
#include <hang.h>
#include <init.h>
#include <linux/delay.h>
@@ -236,22 +235,6 @@ static void unset_early_gpio(void)
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)
{
struct board_info *binfo = detect_board();