Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
317bf064
Commit
317bf064
authored
8 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
i.MX6: Clean up some initializers
parent
ad6f37ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/src/imx6/imx_cpuboot.c
+12
-12
12 additions, 12 deletions
arch/arm/src/imx6/imx_cpuboot.c
arch/arm/src/lpc43xx/chip/lpc4337jet100_pinconfig.h
+1
-1
1 addition, 1 deletion
arch/arm/src/lpc43xx/chip/lpc4337jet100_pinconfig.h
with
13 additions
and
13 deletions
arch/arm/src/imx6/imx_cpuboot.c
+
12
−
12
View file @
317bf064
...
...
@@ -70,44 +70,44 @@ typedef CODE void (*cpu_start_t)(void);
#if 0 /* Not used */
static const uint32_t g_cpu_reset[CONFIG_SMP_NCPUS] =
{
0,
SRC_SCR_CORE0_RST
#if CONFIG_SMP_NCPUS > 1
SRC_SCR_CORE1_RST
,
,
SRC_SCR_CORE1_RST
#endif
#if CONFIG_SMP_NCPUS > 2
SRC_SCR_CORE2_RST
,
,
SRC_SCR_CORE2_RST
#endif
#if CONFIG_SMP_NCPUS > 3
SRC_SCR_CORE3_RST
,
SRC_SCR_CORE3_RST
#endif
};
#endif
static
const
uint32_t
g_cpu_ctrl
[
CONFIG_SMP_NCPUS
]
=
{
0
,
0
#if CONFIG_SMP_NCPUS > 1
SRC_SCR_CORE1_ENABLE
,
,
SRC_SCR_CORE1_ENABLE
#endif
#if CONFIG_SMP_NCPUS > 2
SRC_SCR_CORE2_ENABLE
,
,
SRC_SCR_CORE2_ENABLE
#endif
#if CONFIG_SMP_NCPUS > 3
SRC_SCR_CORE3_ENABLE
,
SRC_SCR_CORE3_ENABLE
#endif
};
static
const
uintptr_t
g_cpu_gpr
[
CONFIG_SMP_NCPUS
]
=
{
0
,
IMX_SRC_GPR1
#if CONFIG_SMP_NCPUS > 1
IMX_SRC_GPR3
,
,
IMX_SRC_GPR3
#endif
#if CONFIG_SMP_NCPUS > 2
IMX_SRC_GPR5
,
,
IMX_SRC_GPR5
#endif
#if CONFIG_SMP_NCPUS > 3
IMX_SRC_GPR7
,
IMX_SRC_GPR7
#endif
};
...
...
This diff is collapsed.
Click to expand it.
arch/arm/src/lpc43xx/chip/lpc4337jet100_pinconfig.h
+
1
−
1
View file @
317bf064
/****************************************************************************************************
* arch/arm/src/lpc43xx/chip/lpc4337jet100_pinconfig.h
*
* Copyright (C) 201
4
Gregory Nutt. All rights reserved.
* Copyright (C) 201
6
Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment