[PATCH] configs: socfpga: Wrapping up function ID for SMC register access
Jit Loon Lim
jit.loon.lim at intel.com
Mon Nov 21 16:36:19 CET 2022
From: Tien Fong Chee <tien.fong.chee at intel.com>
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.
Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim at intel.com>
---
include/configs/socfpga_soc64_common.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 7edffc3975..170b647826 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -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
--
2.26.2
More information about the U-Boot
mailing list