From 058cdd646bb0733fa0ea58c1920efc95f37c33f6 Mon Sep 17 00:00:00 2001 From: Richard Tucker Date: Thu, 10 Aug 2023 14:19:29 +1000 Subject: [PATCH] tools/litex_json2dts_linux: fix missed sdcard_ references --- litex/tools/litex_json2dts_linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/tools/litex_json2dts_linux.py b/litex/tools/litex_json2dts_linux.py index bef068663..8e059c14c 100755 --- a/litex/tools/litex_json2dts_linux.py +++ b/litex/tools/litex_json2dts_linux.py @@ -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"; @@ -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";