We had the address and data bus sizes mixed up
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
d93dded624
commit
afbf709767
|
@ -290,7 +290,9 @@ class LiteDRAMCore(SoCSDRAM):
|
||||||
|
|
||||||
# CSR port
|
# CSR port
|
||||||
if core_config.get("expose_csr_port", "no") == "yes":
|
if core_config.get("expose_csr_port", "no") == "yes":
|
||||||
csr_port = csr_bus.Interface(self.csr_address_width, self.csr_data_width)
|
csr_port = csr_bus.Interface(
|
||||||
|
address_width=self.csr_address_width,
|
||||||
|
data_width=self.csr_data_width)
|
||||||
self.add_csr_master(csr_port)
|
self.add_csr_master(csr_port)
|
||||||
platform.add_extension(get_csr_ios(self.csr_address_width,
|
platform.add_extension(get_csr_ios(self.csr_address_width,
|
||||||
self.csr_data_width))
|
self.csr_data_width))
|
||||||
|
|
Loading…
Reference in New Issue