34 lines
862 B
Diff
34 lines
862 B
Diff
From 72f06747352293575df89c1b4cb833d9e285499f Mon Sep 17 00:00:00 2001
|
|
From: Scott Ellis <scott@jumpnowtek.com>
|
|
Date: Mon, 15 May 2017 04:56:43 -0400
|
|
Subject: [PATCH 2/3] Set custom bootcommand always envboot first
|
|
|
|
---
|
|
include/configs/am335x_evm.h | 9 ++++-----
|
|
1 file changed, 4 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
|
|
index d8c18da..0312167 100644
|
|
--- a/include/configs/am335x_evm.h
|
|
+++ b/include/configs/am335x_evm.h
|
|
@@ -84,12 +84,11 @@
|
|
func(DHCP, dhcp, na)
|
|
|
|
#define CONFIG_BOOTCOMMAND \
|
|
- "if test ${boot_fit} -eq 1; then " \
|
|
- "run update_to_fit;" \
|
|
- "fi;" \
|
|
- "run findfdt; " \
|
|
- "run init_console; " \
|
|
"run envboot; " \
|
|
+ "setenv mmcdev 1; " \
|
|
+ "run envboot; " \
|
|
+ "setenv mmcdev 0; " \
|
|
+ "run findfdt; " \
|
|
"run distro_bootcmd"
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
--
|
|
2.7.4
|
|
|