Skip to contentSkip to conversation

configs: socfpga: Wrapping up function ID for SMC register access

PATCH New Jit Loon Lim 1 participant 1 message Nov 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: socfpga: Wrapping up function ID for SMC register access

From: Tien Fong Chee <[email protected]>

Wrapping up function ID for SMC register access, so that all details such as write / read / update function ID can be wrapped up. User can direct running SMC command with wrapped function ID into environment variables without bothering respective register access function ID.

---
 include/configs/socfpga_soc64_common.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
include/configs/socfpga_soc64_common.h +6 -1
index 7edffc3975..170b647826 100644
@@ -99,7 +99,12 @@
 			" root=${nandroot} rw rootwait rootfstype=jffs2; " \
 			"bootm ${loadaddr}\0" \
 	"nandfitload=nand read ${loadaddr} kernel\0" \
-	"socfpga_legacy_reset_compat=1\0"
+	"socfpga_legacy_reset_compat=1\0" \
+	"rsu_status=rsu dtb; rsu display_dcmf_version; "\
+		"rsu display_dcmf_status; rsu display_max_retry\0" \
+	"smc_fid_rd=0xC2000007\0" \
+	"smc_fid_wr=0xC2000008\0" \
+	"smc_fid_upd=0xC2000009\0 " \
 
 /*
  * External memory configurations
Signature · 1 line
2.26.2