summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch
new file mode 100644
index 0000000..8b7ba2e
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-2016.09.01/mtre_disable_access.patch
@@ -0,0 +1,13 @@
+# This change disables shell access for u-boot by default.
+diff -Naru orig/configs/at91sam9x5ek_nandflash_defconfig new/configs/at91sam9x5ek_nandflash_defconfig
+--- orig/configs/at91sam9x5ek_nandflash_defconfig 2021-05-22 23:33:29.000000000 +0300
++++ new/configs/at91sam9x5ek_nandflash_defconfig 2021-05-22 23:36:25.946840766 +0300
+@@ -3,7 +3,7 @@
+ CONFIG_TARGET_AT91SAM9X5EK=y
+ CONFIG_SPL=n
+ CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9X5,SYS_USE_NANDFLASH"
+-CONFIG_BOOTDELAY=0
++CONFIG_BOOTDELAY=-2
+ CONFIG_HUSH_PARSER=y
+ CONFIG_SYS_PROMPT="U-Boot> "
+ CONFIG_CMD_BOOTZ=y