Many ARM SoCs included <devicetree.h> likely due to: 1. nvic.h not being self-contained 2. As a result of copy-paste Some RISC-V SoCs had the same problem, in this case likely due to copy-paste from ARM. The <devicetree.h> header has been removed using the following command: sed -i ':a;N;$!ba;s/#include <devicetree\.h>\n//g' soc/**/soc.h soc.h files that make a legitimate usage of the API have not been changed. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
22 lines
462 B
C
22 lines
462 B
C
/*
|
|
* Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _NUVOTON_NPCX_SOC_H_
|
|
#define _NUVOTON_NPCX_SOC_H_
|
|
|
|
/* CMSIS required definitions */
|
|
#define __FPU_PRESENT CONFIG_CPU_HAS_FPU
|
|
#define __MPU_PRESENT CONFIG_CPU_HAS_ARM_MPU
|
|
|
|
|
|
#include <reg/reg_access.h>
|
|
#include <reg/reg_def.h>
|
|
#include <soc_dt.h>
|
|
#include <soc_clock.h>
|
|
#include <soc_pins.h>
|
|
#include <soc_power.h>
|
|
|
|
#endif /* _NUVOTON_NPCX_SOC_H_ */
|