platform/x86: intel_scu_ipc: Convert to use SPDX identifier
Reduce size of duplicated comments by switching to use SPDX identifier. No functional change. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>hifive-unleashed-5.1
parent
2d0554e8ba
commit
9b748e0efe
|
@ -1,14 +1,10 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism
|
* Driver for the Intel SCU IPC mechanism
|
||||||
*
|
*
|
||||||
* (C) Copyright 2008-2010,2015 Intel Corporation
|
* (C) Copyright 2008-2010,2015 Intel Corporation
|
||||||
* Author: Sreedhara DS (sreedhara.ds@intel.com)
|
* Author: Sreedhara DS (sreedhara.ds@intel.com)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; version 2
|
|
||||||
* of the License.
|
|
||||||
*
|
|
||||||
* SCU running in ARC processor communicates with other entity running in IA
|
* SCU running in ARC processor communicates with other entity running in IA
|
||||||
* core through IPC mechanism which in turn messaging between IA core ad SCU.
|
* core through IPC mechanism which in turn messaging between IA core ad SCU.
|
||||||
* SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
|
* SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism
|
* Driver for the Intel SCU IPC mechanism
|
||||||
*
|
*
|
||||||
* (C) Copyright 2008-2010 Intel Corporation
|
* (C) Copyright 2008-2010 Intel Corporation
|
||||||
* Author: Sreedhara DS (sreedhara.ds@intel.com)
|
* Author: Sreedhara DS (sreedhara.ds@intel.com)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This driver provides IOCTL interfaces to call Intel SCU IPC driver API.
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; version 2
|
|
||||||
* of the License.
|
|
||||||
*
|
|
||||||
* This driver provides ioctl interfaces to call intel scu ipc driver api
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
|
@ -26,7 +22,7 @@
|
||||||
|
|
||||||
static int major;
|
static int major;
|
||||||
|
|
||||||
/* ioctl commnds */
|
/* IOCTL commands */
|
||||||
#define INTE_SCU_IPC_REGISTER_READ 0
|
#define INTE_SCU_IPC_REGISTER_READ 0
|
||||||
#define INTE_SCU_IPC_REGISTER_WRITE 1
|
#define INTE_SCU_IPC_REGISTER_WRITE 1
|
||||||
#define INTE_SCU_IPC_REGISTER_UPDATE 2
|
#define INTE_SCU_IPC_REGISTER_UPDATE 2
|
||||||
|
|
Loading…
Reference in New Issue