Commit e4a766f8 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

minor formatting

parent fb929b74
...@@ -94,9 +94,11 @@ def init_sata(sata_en,pydir): ...@@ -94,9 +94,11 @@ def init_sata(sata_en,pydir):
chout("modprobe ahci_elphel &") chout("modprobe ahci_elphel &")
chout("sleep 2") chout("sleep 2")
chout("echo 1 > /sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module") chout("echo 1 > /sys/devices/soc0/amba@0/80000000.elphel-ahci/load_module")
#main
#main
#argv[1] - port mask, overrides device tree records #argv[1] - port mask, overrides device tree records
if len(sys.argv) > 1: if len(sys.argv) > 1:
mask = sys.argv[1] mask = sys.argv[1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment