summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kraft <george.kraft@calxeda.com>2013-04-25 16:16:46 -0500
committerGeorge Kraft <george.kraft@calxeda.com>2013-04-25 16:16:46 -0500
commit62fd2dc4a1b39b95b8c1ae18be8d87c8cf405f2e (patch)
tree2aa4cadaede947b910fbbb9a89e4b611c0220fde
parentce7854a9f6c5ff4611faec100c7c71ceadb02e4a (diff)
downloadcxmanage-62fd2dc4a1b39b95b8c1ae18be8d87c8cf405f2e.tar.gz
CXMAN-188: ubootenv: Remove SD boot device
-rw-r--r--cxmanage_api/ubootenv.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/cxmanage_api/ubootenv.py b/cxmanage_api/ubootenv.py
index dd1e072..6480aad 100644
--- a/cxmanage_api/ubootenv.py
+++ b/cxmanage_api/ubootenv.py
@@ -76,7 +76,6 @@ class UbootEnv:
disk - boot from default sata device\n
diskX - boot from sata device X\n
diskX:Y - boot from sata device X, partition Y\n
- sd - boot from SD\n
retry - retry last boot device indefinitely\n
reset - reset A9\n
@@ -106,10 +105,6 @@ class UbootEnv:
raise ValueError("Invalid boot device: %s" % arg)
commands.append("setenv bootdevice %s && run bootcmd_sata"
% bootdevice)
- elif (arg == "sd"):
- # TODO: enable this once it's working in u-boot
- # commands.append("run bootcmd_mmc")
- raise ValueError("Invalid boot device: %s" % arg)
elif (arg == "retry"):
retry = True
elif (arg == "reset"):
@@ -154,8 +149,6 @@ class UbootEnv:
boot_args.append("pxe")
elif (command == "run bootcmd_sata"):
boot_args.append("disk")
- elif (command == "run bootcmd_mmc"):
- boot_args.append("sd")
elif (command.startswith("setenv bootdevice")):
boot_args.append("disk%s" % command.split()[2])
elif (command == "reset"):