Skip to content

Commit 0e69129

Browse files
gmarullcarlescufi
authored andcommitted
soc: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all soc code to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to #45388 for more details. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 5f5a905 commit 0e69129

File tree

322 files changed

+850
-850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+850
-850
lines changed

soc/arc/snps_arc_hsdk/soc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* This module provides routines to initialize and support soc-level hardware
99
* for the HS Development Kit
1010
*/
11-
#include <device.h>
12-
#include <init.h>
11+
#include <zephyr/device.h>
12+
#include <zephyr/init.h>
1313
#include "soc.h"
1414

1515
static int arc_hsdk_init(const struct device *dev)

soc/arc/snps_arc_hsdk/soc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef _SOC_H_
1515
#define _SOC_H_
1616

17-
#include <sys/util.h>
17+
#include <zephyr/sys/util.h>
1818

1919

2020
/* ARC HS Core IRQs */
@@ -25,8 +25,8 @@
2525
#ifndef _ASMLANGUAGE
2626

2727

28-
#include <sys/util.h>
29-
#include <random/rand32.h>
28+
#include <zephyr/sys/util.h>
29+
#include <zephyr/random/rand32.h>
3030

3131
/* PINMUX IO Hardware Functions */
3232
#define HSDK_PINMUX_FUNS 8

soc/arc/snps_arc_iot/soc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* for the IoT Development Kit board.
1010
*
1111
*/
12-
#include <device.h>
13-
#include <init.h>
12+
#include <zephyr/device.h>
13+
#include <zephyr/init.h>
1414
#include "sysconf.h"
1515

1616
#define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)

soc/arc/snps_arc_iot/soc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef _SOC_H_
1515
#define _SOC_H_
1616

17-
#include <sys/util.h>
17+
#include <zephyr/sys/util.h>
1818

1919
/* default system clock */
2020
#define SYSCLK_DEFAULT_IOSC_HZ MHZ(16)
@@ -36,8 +36,8 @@
3636
#ifndef _ASMLANGUAGE
3737

3838

39-
#include <sys/util.h>
40-
#include <random/rand32.h>
39+
#include <zephyr/sys/util.h>
40+
#include <zephyr/random/rand32.h>
4141

4242

4343
#endif /* !_ASMLANGUAGE */

soc/arc/snps_emsdp/soc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef _SOC_H_
1515
#define _SOC_H_
1616

17-
#include <sys/util.h>
17+
#include <zephyr/sys/util.h>
1818

1919
/* default system clock */
2020
#define SYSCLK_DEFAULT_IOSC_HZ MHZ(100)
@@ -26,8 +26,8 @@
2626

2727
#ifndef _ASMLANGUAGE
2828

29-
#include <sys/util.h>
30-
#include <random/rand32.h>
29+
#include <zephyr/sys/util.h>
30+
#include <zephyr/random/rand32.h>
3131

3232
#endif /* !_ASMLANGUAGE */
3333

soc/arc/snps_emsk/soc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef _SOC__H_
1515
#define _SOC__H_
1616

17-
#include <sys/util.h>
17+
#include <zephyr/sys/util.h>
1818

1919
/* default system clock */
2020
/* On the EM Starter Kit board, the peripheral bus clock frequency is 50Mhz */
@@ -39,8 +39,8 @@
3939

4040
#ifndef _ASMLANGUAGE
4141

42-
#include <sys/util.h>
43-
#include <random/rand32.h>
42+
#include <zephyr/sys/util.h>
43+
#include <zephyr/random/rand32.h>
4444

4545
#define INT_ENABLE_ARC ~(0x00000001 << 8)
4646
#define INT_ENABLE_ARC_BIT_POS (8)

soc/arc/snps_emsk/soc_config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <device.h>
8-
#include <init.h>
7+
#include <zephyr/device.h>
8+
#include <zephyr/init.h>
99
#include "soc.h"
1010

1111

soc/arc/snps_nsim/soc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*
1313
*/
1414

15-
#include <device.h>
16-
#include <init.h>
15+
#include <zephyr/device.h>
16+
#include <zephyr/init.h>
1717
#include "soc.h"
1818

1919
#ifdef CONFIG_SMP

soc/arc/snps_nsim/soc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef _SOC__H_
1515
#define _SOC__H_
1616

17-
#include <sys/util.h>
17+
#include <zephyr/sys/util.h>
1818

1919
/* ARC EM Core IRQs */
2020
#define IRQ_TIMER0 16
@@ -24,8 +24,8 @@
2424

2525
#ifndef _ASMLANGUAGE
2626

27-
#include <sys/util.h>
28-
#include <random/rand32.h>
27+
#include <zephyr/sys/util.h>
28+
#include <zephyr/random/rand32.h>
2929

3030
#define INT_ENABLE_ARC ~(0x00000001 << 8)
3131
#define INT_ENABLE_ARC_BIT_POS (8)

soc/arc/snps_nsim/soc_config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <device.h>
8-
#include <init.h>
7+
#include <zephyr/device.h>
8+
#include <zephyr/init.h>
99
#include "soc.h"

0 commit comments

Comments
 (0)