Skip to content

Commit

Permalink
armv7m/reboot: Adjust header files to subfamilies
Browse files Browse the repository at this point in the history
Fixes the availability of proper pctl definitions
for the subfamily the project will be built for.

JIRA: NIL-436
  • Loading branch information
gerard5 committed Jul 12, 2023
1 parent 6a345e9 commit e69be9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/armv7m/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@

#include <sys/reboot.h>
#include <sys/platform.h>

#if defined(__CPU_IMXRT117X)
#include <phoenix/arch/imxrt1170.h>
#else
#include <phoenix/arch/imxrt.h>
#endif


int reboot(int magic)
Expand Down

0 comments on commit e69be9a

Please sign in to comment.