projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c826a
)
Fix another reset issue in spi_rxtx
author
Anton Blanchard
<anton@linux.ibm.com>
Sun, 3 Jan 2021 19:04:02 +0000
(06:04 +1100)
committer
Anton Blanchard
<anton@ozlabs.org>
Sun, 3 Jan 2021 19:04:02 +0000
(06:04 +1100)
counter was X state after reset, initialize it.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
spi_rxtx.vhdl
patch
|
blob
|
history
diff --git
a/spi_rxtx.vhdl
b/spi_rxtx.vhdl
index acb5becb23323f0483fff26238fc6e948de7399e..13acdf367b3e2a4981502b88f12ecd26e152187d 100644
(file)
--- a/
spi_rxtx.vhdl
+++ b/
spi_rxtx.vhdl
@@
-177,6
+177,7
@@
begin
sck_send <= '0';
sck_recv <= '0';
clk_div <= 0;
+ counter := 0;
elsif counter = clk_div then
counter := 0;