summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Zhu <richard.zhu@freescale.com>2014-10-20 15:09:11 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-01-15 21:19:02 -0600
commit826aec64bb91701a0d234cd45e970be39dc395be (patch)
tree39beeda9477995a6d4508a3010957e6167da834c /include
parentc0ebbc50b4c5051b99a5ea812b31c48f77d49e29 (diff)
MLK-9707-3 arm: mcc: mcc 2.0 updates common codes changes
Common codes changes in the mcc 2.0 updates - common definitions are moved from mcc_config.h to mcc_common.h because that these definitions are common for the standalone mcc stack, and shared by different platforms, such as Linux, MQX. - re-define the common api _psp_core_num(), and _psp_node_num(). Let them to be no platform dependency. - move the definition of the MCC_OS_USED in mcc_config.h - new add on mcc_config_linux.h file, contained the platform related macro definitions contained in mcc_config.h before. - add the related linux modifications into mcc_api.c/mcc_common.c when implement the mcc2.0 into linux BSP. - fix one potential bug that all the share memory operations should be protected by sema4. Acked-by: Shawn Guo Signed-off-by: Richard Zhu <richard.zhu@freescale.com> (cherry picked from commit 541325a16b6db73a86a5a86049145b0060805c7c)
Diffstat (limited to 'include')
-rwxr-xr-xinclude/linux/mcc_api.h1
-rwxr-xr-xinclude/linux/mcc_common.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mcc_api.h b/include/linux/mcc_api.h
index 1048a101989c..a91359e009dd 100755
--- a/include/linux/mcc_api.h
+++ b/include/linux/mcc_api.h
@@ -1,7 +1,6 @@
/*
* Copyright (C) 2014 Freescale Semiconductor, Inc.
* Freescale IMX Linux-specific MCC implementation.
- * MCC library API functions implementation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
diff --git a/include/linux/mcc_common.h b/include/linux/mcc_common.h
index 47dc2fc3467b..7c33d84a3770 100755
--- a/include/linux/mcc_common.h
+++ b/include/linux/mcc_common.h
@@ -1,7 +1,6 @@
/*
* Copyright (C) 2014 Freescale Semiconductor, Inc.
* Freescale IMX Linux-specific MCC implementation.
- * MCC library header file
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -16,7 +15,6 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
#ifndef __MCC_COMMON__
#define __MCC_COMMON__