Skip to contentSkip to conversation

build error due to AGILEX_NAND_X_CLK

BUG Chunfeng Yun 2 participants 2 messages Aug 19, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Dinh,

There is build error for arm64:
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:313.15-16 syntax error FATAL ERROR: Unable to parse input tree

it's introduced by patch:

commit d4ae4dd346cd49302d157b129ead2f60d3a82534

Author: Dinh Nguyen <[email protected]>
Date:   Tue Jun 30 13:44:37 2020 -0500

arm64: dts: agilex: add nand clocks

Add the clock properties for the NAND dts node.

(quoted diff) +0 -0

b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index e300330..ac1b242 100644

arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +4 -0
@@ -309,6 +309,10 @@
                              <0xffb80000 0x1000>;
                        reg-names = "nand_data", "denali_reg";
                        interrupts = <0 97 4>;
+                       clocks = <&clkmgr AGILEX_NAND_CLK>,
+                                <&clkmgr AGILEX_NAND_X_CLK>,
+                                <&clkmgr AGILEX_NAND_ECC_CLK>;
+                       clock-names = "nand", "nand_x", "ecc";
                        resets = <&rst NAND_RESET>, <&rst
NAND_OCP_RESET>;
                        status = "disabled";
                };
#1 lore raw

Hi,

This is an old error and has been fixed in v5.9-rc1.

Dinh

Quoted 6 lines · Chunfeng Yun

tax error
FATAL ERROR: Unable to parse input tree

it's introduced by patch:

commit d4ae4dd346cd49302d157b129ead2f60d3a82534