From 2d52c65613fef70622b6444bbdd3cd8ff1b66391 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 18 May 2024 19:09:13 +0000 Subject: [PATCH] Simple mistake fix --- litex/tools/litex_json2dts_linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/tools/litex_json2dts_linux.py b/litex/tools/litex_json2dts_linux.py index 75fe7c610..94c7986cb 100755 --- a/litex/tools/litex_json2dts_linux.py +++ b/litex/tools/litex_json2dts_linux.py @@ -46,7 +46,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic cpu_isa_extensions += ", \"f\"" if "d" in cpu_isa[5:]: cpu_isa_extensions += ", \"d\"" - if "d" in cpu_isa[5:]: + if "c" in cpu_isa[5:]: cpu_isa_extensions += ", \"c\"" # rocket specific extensions if "rocket" in cpu_name: