Add basic directory structure to support the Allwinner A10
This commit is contained in:
parent
b0859ea286
commit
d460e8d7fa
@ -10,6 +10,14 @@ choice
|
|||||||
prompt "ARM chip selection"
|
prompt "ARM chip selection"
|
||||||
default ARCH_CHIP_STM32
|
default ARCH_CHIP_STM32
|
||||||
|
|
||||||
|
config ARCH_CHIP_A1X
|
||||||
|
bool "Allwinner A1X"
|
||||||
|
select ARCH_CORTEXA8
|
||||||
|
select ARCH_HAVE_FPU
|
||||||
|
select ARCH_HAVE_LOWVECTORS
|
||||||
|
---help---
|
||||||
|
Allwinner A1X family: A10, A10S (A12), A13 (ARM Cortex-A8)
|
||||||
|
|
||||||
config ARCH_CHIP_C5471
|
config ARCH_CHIP_C5471
|
||||||
bool "TMS320 C5471"
|
bool "TMS320 C5471"
|
||||||
select ARCH_ARM7TDMI
|
select ARCH_ARM7TDMI
|
||||||
@ -321,6 +329,9 @@ endif
|
|||||||
if ARCH_ARM7TDMI || ARCH_ARM926EJS
|
if ARCH_ARM7TDMI || ARCH_ARM926EJS
|
||||||
source arch/arm/src/arm/Kconfig
|
source arch/arm/src/arm/Kconfig
|
||||||
endif
|
endif
|
||||||
|
if ARCH_CHIP_A1X
|
||||||
|
source arch/arm/src/a1x/Kconfig
|
||||||
|
endif
|
||||||
if ARCH_CHIP_C5471
|
if ARCH_CHIP_C5471
|
||||||
source arch/arm/src/c5471/Kconfig
|
source arch/arm/src/c5471/Kconfig
|
||||||
endif
|
endif
|
||||||
|
89
arch/arm/include/a1x/a10_irq.h
Normal file
89
arch/arm/include/a1x/a10_irq.h
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
/****************************************************************************************
|
||||||
|
* arch/arm/include/a1x/a10_irq.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||||
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in
|
||||||
|
* the documentation and/or other materials provided with the
|
||||||
|
* distribution.
|
||||||
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
* used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/* This file should never be included directed but, rather, only indirectly through
|
||||||
|
* nuttx/irq.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __ARCH_ARM_INCLUDE_A1X_A10_IRQ_H
|
||||||
|
#define __ARCH_ARM_INCLUDE_A1X_A10_IRQ_H
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Included Files
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Pre-Processor Definitions
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/* External interrupts numbers */
|
||||||
|
#warning Missing logic
|
||||||
|
|
||||||
|
/* Total number of IRQ numbers */
|
||||||
|
|
||||||
|
#define NR_IRQS 0
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Public Types
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Inline functions
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Public Variables
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Public Function Prototypes
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define EXTERN extern "C"
|
||||||
|
extern "C" {
|
||||||
|
#else
|
||||||
|
#define EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef EXTERN
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __ARCH_ARM_INCLUDE_A1X_A10_IRQ_H */
|
||||||
|
|
68
arch/arm/include/a1x/chip.h
Normal file
68
arch/arm/include/a1x/chip.h
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
/************************************************************************************
|
||||||
|
* arch/arm/include/a1x/chip.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||||
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in
|
||||||
|
* the documentation and/or other materials provided with the
|
||||||
|
* distribution.
|
||||||
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
* used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
************************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ARCH_ARM_INCLUDE_A1X_CHIP_H
|
||||||
|
#define __ARCH_ARM_INCLUDE_A1X_CHIP_H
|
||||||
|
|
||||||
|
/************************************************************************************
|
||||||
|
* Included Files
|
||||||
|
************************************************************************************/
|
||||||
|
|
||||||
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
/************************************************************************************
|
||||||
|
* Pre-processor Definitions
|
||||||
|
************************************************************************************/
|
||||||
|
/* A1X Family */
|
||||||
|
|
||||||
|
#if defined(CONFIG_ARCH_CHIP_A10)
|
||||||
|
# define ALLWINNER_A1X 1 /* A1X family */
|
||||||
|
#else
|
||||||
|
# error Unrecognized A1X chip
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/************************************************************************************
|
||||||
|
* Public Types
|
||||||
|
************************************************************************************/
|
||||||
|
|
||||||
|
/************************************************************************************
|
||||||
|
* Public Data
|
||||||
|
************************************************************************************/
|
||||||
|
|
||||||
|
/************************************************************************************
|
||||||
|
* Public Functions
|
||||||
|
************************************************************************************/
|
||||||
|
|
||||||
|
#endif /* __ARCH_ARM_INCLUDE_A1X_CHIP_H */
|
90
arch/arm/include/a1x/irq.h
Normal file
90
arch/arm/include/a1x/irq.h
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
/****************************************************************************************
|
||||||
|
* arch/arm/include/a1x/irq.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||||
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in
|
||||||
|
* the documentation and/or other materials provided with the
|
||||||
|
* distribution.
|
||||||
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
* used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/* This file should never be included directed but, rather, only indirectly through
|
||||||
|
* nuttx/irq.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __ARCH_ARM_INCLUDE_A1X_IRQ_H
|
||||||
|
#define __ARCH_ARM_INCLUDE_A1X_IRQ_H
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Included Files
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
#include <nuttx/config.h>
|
||||||
|
#include <arch/a1x/chip.h>
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Pre-processor Definitions
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
/* Chip-Specific External interrupts */
|
||||||
|
|
||||||
|
#if defined(CONFIG_ARCH_CHIP_A10)
|
||||||
|
# include <arch/a1x/a10_irq.h>
|
||||||
|
#else
|
||||||
|
# error Unrecognized A1X chip
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Public Types
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Public Data
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define EXTERN extern "C"
|
||||||
|
extern "C" {
|
||||||
|
#else
|
||||||
|
#define EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/****************************************************************************************
|
||||||
|
* Public Function Prototypes
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
#undef EXTERN
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __ARCH_ARM_INCLUDE_A1X_IRQ_H */
|
||||||
|
|
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_INCLUDE_SAMAD5_CHIP_H
|
#ifndef __ARCH_ARM_INCLUDE_SAMA5_CHIP_H
|
||||||
#define __ARCH_ARM_INCLUDE_SAMAD5_CHIP_H
|
#define __ARCH_ARM_INCLUDE_SAMA5_CHIP_H
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -131,4 +131,4 @@
|
|||||||
* Public Functions
|
* Public Functions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_INCLUDE_SAMAD5_CHIP_H */
|
#endif /* __ARCH_ARM_INCLUDE_SAMA5_CHIP_H */
|
||||||
|
@ -37,8 +37,8 @@
|
|||||||
* nuttx/irq.h
|
* nuttx/irq.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_INCLUDE_SAM34_SAMA5_SAMA5D3_IRQ_H
|
#ifndef __ARCH_ARM_INCLUDE_SAMA5_SAMA5D3_IRQ_H
|
||||||
#define __ARCH_ARM_INCLUDE_SAM34_SAMA5_SAMA5D3_IRQ_H
|
#define __ARCH_ARM_INCLUDE_SAMA5_SAMA5D3_IRQ_H
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -392,5 +392,4 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_INCLUDE_SAM34_SAMA5_SAMA5D3_IRQ_H */
|
#endif /* __ARCH_ARM_INCLUDE_SAMA5_SAMA5D3_IRQ_H */
|
||||||
|
|
||||||
|
19
arch/arm/src/a1x/Kconfig
Normal file
19
arch/arm/src/a1x/Kconfig
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see misc/tools/kconfig-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
if ARCH_CHIP_A1X
|
||||||
|
|
||||||
|
comment "A1x Configuration Options"
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Allwinner A1X Chip Selection"
|
||||||
|
default ARCH_CHIP_A10
|
||||||
|
|
||||||
|
config ARCH_CHIP_A10
|
||||||
|
bool "A10"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
endif # ARCH_CHIP_A1X
|
96
arch/arm/src/a1x/Make.defs
Normal file
96
arch/arm/src/a1x/Make.defs
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
############################################################################
|
||||||
|
# arch/arm/a1x/Make.defs
|
||||||
|
#
|
||||||
|
# Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||||
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in
|
||||||
|
# the documentation and/or other materials provided with the
|
||||||
|
# distribution.
|
||||||
|
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
||||||
|
# used to endorse or promote products derived from this software
|
||||||
|
# without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
# The vector table is the "head" object, i.e., the one that must forced into
|
||||||
|
# the link in order to draw in all of the other components
|
||||||
|
|
||||||
|
HEAD_ASRC = arm_vectortab.S
|
||||||
|
|
||||||
|
# Force the start-up logic to be at the beginning of the .text to simplify
|
||||||
|
# debug.
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PAGING),y)
|
||||||
|
CMN_ASRCS = arm_pghead.S
|
||||||
|
else
|
||||||
|
CMN_ASRCS = arm_head.S
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Common assembly language files
|
||||||
|
|
||||||
|
CMN_ASRCS += arm_vectors.S arm_fpuconfig.S arm_fullcontextrestore.S
|
||||||
|
CMN_ASRCS += arm_saveusercontext.S arm_vectoraddrexcptn.S arm_vfork.S
|
||||||
|
CMN_ASRCS += cp15_coherent_dcache.S cp15_invalidate_dcache.S
|
||||||
|
CMN_ASRCS += cp15_clean_dcache.S cp15_flush_dcache.S cp15_invalidate_dcache_all.S
|
||||||
|
|
||||||
|
# Common C source files
|
||||||
|
|
||||||
|
CMN_CSRCS = up_initialize.c up_idle.c up_interruptcontext.c up_exit.c
|
||||||
|
CMN_CSRCS += up_createstack.c up_releasestack.c up_usestack.c up_vfork.c
|
||||||
|
CMN_CSRCS += up_puts.c up_mdelay.c up_udelay.c
|
||||||
|
CMN_CSRCS += up_modifyreg8.c up_modifyreg16.c up_modifyreg32.c
|
||||||
|
|
||||||
|
CMN_CSRCS += arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_dataabort.c
|
||||||
|
CMN_CSRCS += arm_doirq.c arm_initialstate.c arm_mmu.c arm_prefetchabort.c
|
||||||
|
CMN_CSRCS += arm_releasepending.c arm_reprioritizertr.c
|
||||||
|
CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c
|
||||||
|
CMN_CSRCS += arm_unblocktask.c arm_undefinedinsn.c
|
||||||
|
|
||||||
|
# Configuration dependent C and assembly language files
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PAGING),y)
|
||||||
|
CMN_CSRCS += arm_allocpage.c arm_checkmapping.c arm_pginitialize.c
|
||||||
|
CMN_CSRCS += arm_va2pte.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ELF),y)
|
||||||
|
CMN_CSRCS += arm_elf.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||||
|
CMN_ASRCS += arm_savefpu.S arm_restorefpu.S
|
||||||
|
CMN_CSRCS += arm_copyarmstate.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_DEBUG_STACK),y)
|
||||||
|
CMN_CSRCS += up_checkstack.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
# A1x-specific assembly language files
|
||||||
|
|
||||||
|
CHIP_ASRCS =
|
||||||
|
|
||||||
|
# A1x-specific C source files
|
||||||
|
|
||||||
|
CHIP_CSRCS =
|
Loading…
Reference in New Issue
Block a user