Skip to content

Commit 34460db

Browse files
stephanosiogalak
authored andcommitted
lpc54114: Remove offsets_short.h inclusion.
This commit removes unnecessary inclusion of offsets_short.h in the LPC54114 start-up code. The offsets_short.h is a kernel private header and must not be included by non-kernel components. The kernel and arch private header directories will be removed from the compiler include path in the near future. For more details, Refer to the issue zephyrproject-rtos/zephyr#20119. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 47914cb commit 34460db

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mcux/devices/LPC54114/gcc/startup_LPC54114_cm4.S

+3-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
#include <toolchain.h>
4949
#include <linker/sections.h>
5050
#include <arch/cpu.h>
51-
#include <offsets_short.h>
5251

5352
#if defined(CONFIG_PLATFORM_SPECIFIC_INIT) && defined(CONFIG_SOC_LPC54114_M4)
5453

@@ -62,7 +61,7 @@ rel_vals:
6261
.long 0x40000800 /* cpu_ctrl */
6362
.long 0x40000804 /* coproc_boot */
6463
.long 0x40000808 /* coproc_stack */
65-
.short 0x0FFF
64+
.short 0x0FFF
6665
.short 0x0C24
6766

6867
GTEXT(z_platform_init)
@@ -75,8 +74,8 @@ SECTION_FUNC(TEXT,z_platform_init)
7574

7675
shared_boot_entry:
7776
ldr r6, =rel_vals
78-
79-
/* Flag for slave core (0) */
77+
78+
/* Flag for slave core (0) */
8079
movs r4, 0
8180
movs r5, 1
8281

0 commit comments

Comments
 (0)