Skip to content

Commit 33696cb

Browse files
committed
feat: 注释掉 add_hash_nodes 方法调用,以符合 mkimage 标准
1 parent 5460923 commit 33696cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fitimage/src/fit/standard_dt_builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl StandardFdtBuilder {
223223
self.add_property_data("data", &component.data)?;
224224

225225
// Add hash nodes to match mkimage standard
226-
self.add_hash_nodes(&component.data)?;
226+
// self.add_hash_nodes(&component.data)?;
227227

228228
self.end_node()?;
229229
Ok(())
@@ -269,7 +269,7 @@ impl StandardFdtBuilder {
269269
self.add_property_data("data", &component.data)?;
270270

271271
// Add hash nodes to match mkimage standard
272-
self.add_hash_nodes(&component.data)?;
272+
// self.add_hash_nodes(&component.data)?;
273273

274274
self.end_node()?;
275275
Ok(())
@@ -297,7 +297,7 @@ impl StandardFdtBuilder {
297297
self.add_property_data("data", &component.data)?;
298298

299299
// Add hash nodes to match mkimage standard
300-
self.add_hash_nodes(&component.data)?;
300+
// self.add_hash_nodes(&component.data)?;
301301

302302
self.end_node()?;
303303
Ok(())

0 commit comments

Comments
 (0)