aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-01-11 21:26:43 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-01-23 20:20:53 +0000
commit145d896e0e68cef80880700060169cc004a7b46e (patch)
tree37176474dadac512fa76a60860d4ef0ffa164328 /package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
parentf5278bf820105c83267d6bc0ad3dfaf1d77a4681 (diff)
downloadupstream-145d896e0e68cef80880700060169cc004a7b46e.tar.gz
upstream-145d896e0e68cef80880700060169cc004a7b46e.tar.bz2
upstream-145d896e0e68cef80880700060169cc004a7b46e.zip
uboot-mediatek: update to version 2022.01
Tested on BananaPi R2 (SD, eMMC), BananaPi R64 (SD, eMMC, SPI-NAND) and UniElec U7623-02 (eMMC). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch b/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
index 530a413ef3..f7f2021652 100644
--- a/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
+++ b/package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch
@@ -1,6 +1,6 @@
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
-@@ -484,6 +484,12 @@ config CMD_ENV_EXISTS
+@@ -483,6 +483,12 @@ config CMD_ENV_EXISTS
Check if a variable is defined in the environment for use in
shell scripting.
@@ -15,7 +15,7 @@
help
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
-@@ -473,6 +473,60 @@ int do_env_ask(struct cmd_tbl *cmdtp, in
+@@ -408,6 +408,60 @@ int do_env_ask(struct cmd_tbl *cmdtp, in
}
#endif
@@ -76,7 +76,7 @@
#if defined(CONFIG_CMD_ENV_CALLBACK)
static int print_static_binding(const char *var_name, const char *callback_name,
void *priv)
-@@ -1377,6 +1431,9 @@ static struct cmd_tbl cmd_env_sub[] = {
+@@ -1189,6 +1243,9 @@ static struct cmd_tbl cmd_env_sub[] = {
U_BOOT_CMD_MKENT(load, 1, 0, do_env_load, "", ""),
#endif
U_BOOT_CMD_MKENT(print, CONFIG_SYS_MAXARGS, 1, do_env_print, "", ""),
@@ -86,7 +86,7 @@
#if defined(CONFIG_CMD_RUN)
U_BOOT_CMD_MKENT(run, CONFIG_SYS_MAXARGS, 1, do_run, "", ""),
#endif
-@@ -1465,6 +1522,9 @@ static char env_help_text[] =
+@@ -1277,6 +1334,9 @@ static char env_help_text[] =
#if defined(CONFIG_CMD_NVEDIT_EFI)
"env print -e [-guid guid] [-n] [name ...] - print UEFI environment\n"
#endif
@@ -96,7 +96,7 @@
#if defined(CONFIG_CMD_RUN)
"env run var [...] - run commands in an environment variable\n"
#endif
-@@ -1574,6 +1634,17 @@ U_BOOT_CMD(
+@@ -1386,6 +1446,17 @@ U_BOOT_CMD(
);
#endif