diff options
author | Richard Zhu <richard.zhu@freescale.com> | 2014-10-20 15:09:11 +0800 |
---|---|---|
committer | Richard Zhu <Richard.Zhu@freescale.com> | 2014-11-04 10:32:43 +0800 |
commit | e939f15863418f928fa4c69530ef33f20cf9cc10 (patch) | |
tree | 3f0888ea465057844041aa629e9cd3474daf3d8f /include | |
parent | 171468de5a1e6ff9cfc042b54fb4b91c05b9e427 (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>
Diffstat (limited to 'include')
-rwxr-xr-x | include/linux/mcc_api.h | 1 | ||||
-rwxr-xr-x | include/linux/mcc_common.h | 2 |
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__ |