* x0~x7: input arguments
  * x0~x3: output arguments
  */
-void hvc_call(struct pt_regs *args)
+static void hvc_call(struct pt_regs *args)
 {
        asm volatile(
                "ldr x0, %0\n"
                  "x16", "x17");
 }
 
-void __noreturn psci_system_reset(bool conduit_smc)
+/*
+ * For now, all systems we support run at least in EL2 and thus
+ * trigger PSCI calls to EL3 using SMC. If anyone ever wants to
+ * use PSCI on U-Boot running below a hypervisor, please detect
+ * this and set the flag accordingly.
+ */
+static const bool use_smc_for_psci = true;
+
+void __noreturn psci_system_reset(void)
 {
        struct pt_regs regs;
 
        regs.regs[0] = ARM_PSCI_0_2_FN_SYSTEM_RESET;
 
-       if (conduit_smc)
+       if (use_smc_for_psci)
                smc_call(®s);
        else
                hvc_call(®s);
 
 
 void flush_l3_cache(void);
 
-/*
- *Issue a hypervisor call in accordance with ARM "SMC Calling convention",
- * DEN0028A
- *
- * @args: input and output arguments
- *
- */
-void hvc_call(struct pt_regs *args);
-
 /*
  *Issue a secure monitor call in accordance with ARM "SMC Calling convention",
  * DEN0028A
  */
 void smc_call(struct pt_regs *args);
 
-void __noreturn psci_system_reset(bool smc);
+void __noreturn psci_system_reset(void);
 
 #endif /* __ASSEMBLY__ */