Skip to content

Commit

Permalink
dfii: Really default to HW control
Browse files Browse the repository at this point in the history
Looks like there was a typo in commit
a595fe0
"dfii: simplify control using CSRFields"

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
ozbenh committed Jun 10, 2020
1 parent 52d7dbe commit 4580882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litedram/dfii.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, addressbits, bankbits, nranks, databits, nphases=1):
CSRField("sel", size=1, values=[
("``0b0``", "Software (CPU) control."),
("``0b1`", "Hardware control (default)."),
], reset=0b0), # Defaults to HW control.
], reset=0b1), # Defaults to HW control.
CSRField("cke", size=1),
CSRField("odt", size=1),
CSRField("reset_n", size=1),
Expand Down

0 comments on commit 4580882

Please sign in to comment.