Skip to content

Commit

Permalink
tools/litex_json2dts_linux: fix missed sdcard_ references
Browse files Browse the repository at this point in the history
  • Loading branch information
rtucker85 authored and Andrew Dennison committed Sep 1, 2023
1 parent 1401226 commit 058cdd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/tools/litex_json2dts_linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
"""

# Voltage Regulator for LiteSDCard (if applicable) --------------------------------------------
if "sdcore" in d["csr_bases"]:
if "sdcard_core" in d["csr_bases"]:
dts += """
vreg_mmc: vreg_mmc {{
compatible = "regulator-fixed";
Expand Down Expand Up @@ -419,7 +419,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic

# SDCard ---------------------------------------------------------------------------------------

if "sdcore" in d["csr_bases"]:
if "sdcard_core" in d["csr_bases"]:
dts += """
mmc0: mmc@{mmc_csr_base:x} {{
compatible = "litex,mmc";
Expand Down

0 comments on commit 058cdd6

Please sign in to comment.