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
a7ad4919
Commit
a7ad4919
authored
Jun 09, 2020
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Jun 09, 2020
Browse files
Merge "rockchip: increase FDT buffer size" into integration
parents
141568da
8109f738
Changes
1
Show whitespace changes
Inline
Side-by-side
plat/rockchip/common/params_setup.c
View file @
a7ad4919
...
@@ -37,7 +37,8 @@ static int dt_process_fdt(u_register_t param_from_bl2)
...
@@ -37,7 +37,8 @@ static int dt_process_fdt(u_register_t param_from_bl2)
static
uint32_t
rk_uart_base
=
PLAT_RK_UART_BASE
;
static
uint32_t
rk_uart_base
=
PLAT_RK_UART_BASE
;
static
uint32_t
rk_uart_baudrate
=
PLAT_RK_UART_BAUDRATE
;
static
uint32_t
rk_uart_baudrate
=
PLAT_RK_UART_BAUDRATE
;
static
uint32_t
rk_uart_clock
=
PLAT_RK_UART_CLOCK
;
static
uint32_t
rk_uart_clock
=
PLAT_RK_UART_CLOCK
;
static
uint8_t
fdt_buffer
[
0x10000
];
#define FDT_BUFFER_SIZE 0x20000
static
uint8_t
fdt_buffer
[
FDT_BUFFER_SIZE
];
void
*
plat_get_fdt
(
void
)
void
*
plat_get_fdt
(
void
)
{
{
...
@@ -136,7 +137,7 @@ static int dt_process_fdt(u_register_t param_from_bl2)
...
@@ -136,7 +137,7 @@ static int dt_process_fdt(u_register_t param_from_bl2)
void
*
fdt
=
plat_get_fdt
();
void
*
fdt
=
plat_get_fdt
();
int
ret
;
int
ret
;
ret
=
fdt_open_into
((
void
*
)
param_from_bl2
,
fdt
,
0x10000
);
ret
=
fdt_open_into
((
void
*
)
param_from_bl2
,
fdt
,
FDT_BUFFER_SIZE
);
if
(
ret
<
0
)
if
(
ret
<
0
)
return
ret
;
return
ret
;
...
...
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