Skip to contentSkip to conversation

Add generic FPGA reconfig mailbox API for S10

PATCH Superseded chee.hong.ang at intel.com 2 participants 3 messages Oct 5, 2018

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

PATCH v2 1/1 Add generic FPGA reconfig mailbox API for S10

From: "Ang, Chee Hong" <[email protected]>

This patch is v2 for:
https://lists.denx.de/pipermail/u-boot/2018-September/342465.html

Ang, Chee Hong (1):
arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

 arch/arm/mach-socfpga/include/mach/mailbox_s10.h |  3 +-
 arch/arm/mach-socfpga/mailbox_s10.c              | 48 ++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

From: "Ang, Chee Hong" <[email protected]>

Add a generic mailbox API for FPGA reconfig status which can be called by others. This new function accepts 2 different mailbox
commands: CONFIG_STATUS or RECONFIG_STATUS.

---
 arch/arm/mach-socfpga/include/mach/mailbox_s10.h |  3 +-
 arch/arm/mach-socfpga/mailbox_s10.c              | 48 ++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)
arch/arm/mach-socfpga/include/mach/mailbox_s10.h +2 -1
index 81a609d..660df35 100644
@@ -140,5 +140,6 @@ int mbox_qspi_open(void);
 #endif
 
 int mbox_reset_cold(void);
-
+int mbox_get_fpga_config_status(u32 cmd);
+int mbox_get_fpga_config_status_psci(u32 cmd);
 #endif /* _MAILBOX_S10_H_ */
arch/arm/mach-socfpga/mailbox_s10.c +48 -0

54 lines not on this page · raw message

Signature · 1 line
2.7.4
Applied
#2 lore raw

PATCH v2 1/1 arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

Quoted 7 lines · chee.hong.ang at intel.com

From: "Ang, Chee Hong" <[email protected]>

Add a generic mailbox API for FPGA reconfig status which can be called by others. This new function accepts 2 different mailbox
commands: CONFIG_STATUS or RECONFIG_STATUS.

Applied, thanks

Signature · 2 lines
Best regards,
Marek Vasut