tools/litex_json2dts/sdcard: use sdphy base as csr base.

To be similar with csr base defined used in linux-on-litex-rocket.
This commit is contained in:
Florent Kermarrec 2021-01-14 09:27:09 +01:00
parent 83fb79fb0c
commit 35a8b498a0

View file

@ -272,7 +272,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
status = "okay";
}};
""".format(
mmc_csr_base = d["csr_bases"]["sdcore"],
mmc_csr_base = d["csr_bases"]["sdphy"],
sdphy_csr_base = d["csr_bases"]["sdphy"],
sdcore_csr_base = d["csr_bases"]["sdcore"],
sdblock2mem = d["csr_bases"]["sdblock2mem"],