diff --git a/arch/arm/src/cxd56xx/cxd56_cpuindex.c b/arch/arm/src/cxd56xx/cxd56_cpuindex.c index f850af0e8e..1d9fa85323 100644 --- a/arch/arm/src/cxd56xx/cxd56_cpuindex.c +++ b/arch/arm/src/cxd56xx/cxd56_cpuindex.c @@ -42,15 +42,10 @@ #include #include "arm_arch.h" +#include "cxd56_cpuindex.h" #ifdef CONFIG_SMP -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -#define CXD56_ADSP_PID 0x0e002040 /* APP_DSP Processor ID */ - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/arch/arm/src/cxd56xx/cxd56_cpuindex.h b/arch/arm/src/cxd56xx/cxd56_cpuindex.h new file mode 100644 index 0000000000..651759c396 --- /dev/null +++ b/arch/arm/src/cxd56xx/cxd56_cpuindex.h @@ -0,0 +1,30 @@ +/**************************************************************************** + * arch/arm/src/cxd56xx/cxd56_cpuindex.h + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +#ifndef __ARCH_ARM_SRC_CXD56XX_CXD56_CPUINDEX_H +#define __ARCH_ARM_SRC_CXD56XX_CXD56_CPUINDEX_H + +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#define CXD56_ADSP_PID 0x0e002040 /* APP_DSP Processor ID */ + +#endif /* __ARCH_ARM_SRC_CXD56XX_CXD56_CPUINDEX_H */