common: Drop linux/delay.h from common header
[oweals/u-boot.git] / arch / x86 / lib / scu.c
index af241efe83d9cfd1d69611b0ee0ac2312b36f8c7..41e673923617aac4c570196130ca28a78cc2f75e 100644 (file)
@@ -15,6 +15,7 @@
 #include <syscon.h>
 #include <asm/cpu.h>
 #include <asm/scu.h>
+#include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
@@ -180,6 +181,17 @@ int scu_ipc_simple_command(u32 cmd, u32 sub)
        return scu_ipc_check_status(scu->regs);
 }
 
+/**
+ *  scu_ipc_command - command with data
+ *  @cmd: command
+ *  @sub: sub type
+ *  @in: input data
+ *  @inlen: input length in dwords
+ *  @out: output data
+ *  @outlen: output length in dwords
+ *
+ *  Issue a command to the SCU which involves data transfers.
+ */
 int scu_ipc_command(u32 cmd, u32 sub, u32 *in, int inlen, u32 *out, int outlen)
 {
        struct scu *scu;