meta-bbb/recipes-bsp/u-boot/u-boot-2017.05/0003-Skip-check-for-boot-scr.patch

42 lines
1.2 KiB
Diff
Raw Normal View History

From b384dff87de6c0f56d376429ee66772117122246 Mon Sep 17 00:00:00 2001
From: Scott Ellis <scott@jumpnowtek.com>
Date: Mon, 15 May 2017 05:03:51 -0400
Subject: [PATCH 3/3] Skip check for boot.scr
---
include/environment/ti/mmc.h | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h
index b987f71..56075ce 100644
--- a/include/environment/ti/mmc.h
+++ b/include/environment/ti/mmc.h
@@ -26,17 +26,13 @@
"envboot=mmc dev ${mmcdev}; " \
"if mmc rescan; then " \
"echo SD/MMC found on device ${mmcdev};" \
- "if run loadbootscript; then " \
- "run bootscript;" \
- "else " \
- "if run loadbootenv; then " \
- "echo Loaded env from ${bootenvfile};" \
- "run importbootenv;" \
- "fi;" \
- "if test -n $uenvcmd; then " \
- "echo Running uenvcmd ...;" \
- "run uenvcmd;" \
- "fi;" \
+ "if run loadbootenv; then " \
+ "echo Loaded env from ${bootenvfile};" \
+ "run importbootenv;" \
+ "fi;" \
+ "if test -n $uenvcmd; then " \
+ "echo Running uenvcmd ...;" \
+ "run uenvcmd;" \
"fi;" \
"fi;\0" \
"mmcloados=run args_mmc; " \
--
2.7.4