drivers: serial: pl011: improve include list
<soc.h> was included because some CMSIS helpers (__DMB/__ISB) were needed. In ARM SoCs, inclusion of CMSIS headers depends mainly on how HALs decide to do it, being usually an inefficient and fragile include chain. Note that on ARM64 we're in a better position, as those are defined in-tree. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
4cafd8df7e
commit
7de5f47e1a
1 changed files with 4 additions and 1 deletions
|
@ -11,9 +11,12 @@
|
|||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/drivers/uart.h>
|
||||
|
||||
#ifdef CONFIG_CPU_CORTEX_M
|
||||
#include <cmsis_compiler.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* UART PL011 register map structure
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue