Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
51675206
Commit
51675206
authored
Apr 26, 2019
by
Soby Mathew
Committed by
TrustedFirmware Code Review
Apr 26, 2019
Browse files
Merge "rk3399: m0: Fix compiler warnings." into integration
parents
f80a60ce
af81a91f
Changes
3
Hide whitespace changes
Inline
Side-by-side
plat/rockchip/rk3399/drivers/m0/src/dram.c
View file @
51675206
...
...
@@ -55,7 +55,7 @@ static void ddr_set_pll(void)
mmio_write_32
(
CRU_BASE
+
CRU_DPLL_CON3
,
PLL_MODE
(
PLL_NORMAL_MODE
));
}
__attribute__
((
noreturn
))
void
main
(
void
)
__attribute__
((
noreturn
))
void
m0_
main
(
void
)
{
mmio_setbits_32
(
PHY_REG
(
0
,
927
),
(
1
<<
22
));
mmio_setbits_32
(
PHY_REG
(
1
,
927
),
(
1
<<
22
));
...
...
plat/rockchip/rk3399/drivers/m0/src/startup.c
View file @
51675206
...
...
@@ -23,7 +23,7 @@ void WEAK svc_handler(void);
void
WEAK
pend_sv_handler
(
void
);
void
WEAK
systick_handler
(
void
);
extern
int
main
(
void
);
extern
int
m0_
main
(
void
);
/* Function prototypes */
static
void
default_reset_handler
(
void
);
...
...
@@ -59,12 +59,12 @@ void (* const g_pfnVectors[])(void) = {
* This is the code that gets called when the processor first
* starts execution following a reset event. Only the absolutely
* necessary set is performed, after which the application
* supplied main() routine is called.
* supplied
m0_
main() routine is called.
*/
static
void
default_reset_handler
(
void
)
{
/* call the application's entry point */
main
();
m0_
main
();
}
/**
...
...
plat/rockchip/rk3399/drivers/m0/src/suspend.c
View file @
51675206
...
...
@@ -11,7 +11,7 @@
#define SCR_SLEEPDEEP_SHIFT (1 << 2)
__attribute__
((
noreturn
))
void
main
(
void
)
__attribute__
((
noreturn
))
void
m0_
main
(
void
)
{
unsigned
int
status_value
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment