aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorCaleb Connolly2024-06-24 14:31:59 +0200
committerCaleb Connolly2024-07-05 12:04:48 +0200
commitca229a32ba9cc9c3799383487860757188624172 (patch)
tree0e52701c2ed579e44b0fa41285ee6b7d897e32e0 /board
parentf693b79ec0d177c505fe61fffb9dedb55f593852 (diff)
mach-snapdragon: move default environment to a file
Make use of CONFIG_DEFAULT_ENV_FILE and move the default qcom environment to a file under board/qualcomm. This is much cleaner and means we don't need to recompile on changing the environment. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'board')
-rw-r--r--board/qualcomm/default.env11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/qualcomm/default.env b/board/qualcomm/default.env
new file mode 100644
index 00000000000..dbf6f4e7260
--- /dev/null
+++ b/board/qualcomm/default.env
@@ -0,0 +1,11 @@
+stdin=serial,button-kbd
+stdout=serial,vidconsole
+stderr=serial,vidconsole
+preboot=scsi scan; usb start
+fastboot=fastboot -l $fastboot_addr_r usb 0
+do_boot=bootefi bootmgr
+bootmenu_0=Boot first available device=run do_boot
+bootmenu_1=Enable fastboot mode=run fastboot
+bootmenu_2=Reset device=reset
+menucmd=bootmenu
+bootcmd=run do_boot