Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
4ed74d02
Commit
4ed74d02
authored
10 years ago
by
danh-arm
Browse files
Options
Download
Plain Diff
Merge pull request #197 from soby-mathew/rationalize_uarts
Rationalize UART usage among different BL stages
parents
e434cf1a
12d554f9
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
v1.3
v1.3_rc2
v1.3_rc1
v1.3-rc0
v1.2
v1.2-rc0
v1.1
v1.1-rc3
v1.1-rc2
v1.1-rc1
v1.1-rc0
v1.1-Juno-0.1
v1.0
v1.0-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
plat/fvp/tsp/tsp_fvp_setup.c
+1
-1
plat/fvp/tsp/tsp_fvp_setup.c
plat/juno/bl1_plat_setup.c
+1
-1
plat/juno/bl1_plat_setup.c
plat/juno/bl2_plat_setup.c
+1
-1
plat/juno/bl2_plat_setup.c
plat/juno/bl31_plat_setup.c
+1
-1
plat/juno/bl31_plat_setup.c
plat/juno/juno_def.h
+2
-0
plat/juno/juno_def.h
plat/juno/tsp/tsp_plat_setup.c
+1
-1
plat/juno/tsp/tsp_plat_setup.c
with
7 additions
and
5 deletions
+7
-5
plat/fvp/tsp/tsp_fvp_setup.c
View file @
4ed74d02
...
...
@@ -72,7 +72,7 @@ void tsp_early_platform_setup(void)
* Initialize a different console than already in use to display
* messages from TSP
*/
console_init
(
PL011_UART
1
_BASE
,
PL011_UART
1
_CLK_IN_HZ
,
PL011_BAUDRATE
);
console_init
(
PL011_UART
2
_BASE
,
PL011_UART
2
_CLK_IN_HZ
,
PL011_BAUDRATE
);
/* Initialize the platform config for future decision making */
fvp_config_setup
();
...
...
This diff is collapsed.
Click to expand it.
plat/juno/bl1_plat_setup.c
View file @
4ed74d02
...
...
@@ -75,7 +75,7 @@ void bl1_early_platform_setup(void)
const
size_t
bl1_size
=
BL1_RAM_LIMIT
-
BL1_RAM_BASE
;
/* Initialize the console to provide early debug support */
console_init
(
PL011_UART
0
_BASE
,
PL011_UART
0
_CLK_IN_HZ
,
PL011_BAUDRATE
);
console_init
(
PL011_UART
2
_BASE
,
PL011_UART
2
_CLK_IN_HZ
,
PL011_BAUDRATE
);
/*
* Enable CCI-400 for this cluster. No need for locks as no other cpu is
...
...
This diff is collapsed.
Click to expand it.
plat/juno/bl2_plat_setup.c
View file @
4ed74d02
...
...
@@ -158,7 +158,7 @@ struct entry_point_info *bl2_plat_get_bl31_ep_info(void)
void
bl2_early_platform_setup
(
meminfo_t
*
mem_layout
)
{
/* Initialize the console to provide early debug support */
console_init
(
PL011_UART
0
_BASE
,
PL011_UART
0
_CLK_IN_HZ
,
PL011_BAUDRATE
);
console_init
(
PL011_UART
2
_BASE
,
PL011_UART
2
_CLK_IN_HZ
,
PL011_BAUDRATE
);
/* Setup the BL2 memory layout */
bl2_tzram_layout
=
*
mem_layout
;
...
...
This diff is collapsed.
Click to expand it.
plat/juno/bl31_plat_setup.c
View file @
4ed74d02
...
...
@@ -108,7 +108,7 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2,
void
*
plat_params_from_bl2
)
{
/* Initialize the console to provide early debug support */
console_init
(
PL011_UART
0
_BASE
,
PL011_UART
0
_CLK_IN_HZ
,
PL011_BAUDRATE
);
console_init
(
PL011_UART
2
_BASE
,
PL011_UART
2
_CLK_IN_HZ
,
PL011_BAUDRATE
);
/*
* Initialise the CCI-400 driver for BL31 so that it is accessible after
...
...
This diff is collapsed.
Click to expand it.
plat/juno/juno_def.h
View file @
4ed74d02
...
...
@@ -138,6 +138,8 @@
#define PL011_UART0_CLK_IN_HZ 24000000
#define PL011_UART1_CLK_IN_HZ 24000000
#define PL011_UART2_CLK_IN_HZ 7273800
#define PL011_UART3_CLK_IN_HZ 7273800
/*******************************************************************************
* NIC-400 related constants
...
...
This diff is collapsed.
Click to expand it.
plat/juno/tsp/tsp_plat_setup.c
View file @
4ed74d02
...
...
@@ -72,7 +72,7 @@ void tsp_early_platform_setup(void)
* Initialize a different console than already in use to display
* messages from TSP
*/
console_init
(
PL011_UART
1
_BASE
,
PL011_UART
1
_CLK_IN_HZ
,
PL011_BAUDRATE
);
console_init
(
PL011_UART
0
_BASE
,
PL011_UART
0
_CLK_IN_HZ
,
PL011_BAUDRATE
);
}
/*******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help