mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
feat(rockchip): increase FDT Buffer for Rockchip Devices
Modify the FDT buffer for Rockchip devices to 384KiB. This is done to allow us to pass mainline devicetrees with symbols through Arm Trusted Firmware. 384KiB was chosen as 512KiB is very near the maximum supported with the current reserved memory. As of kernel version 6.13, the largest devicetree with symbols enabled is 215KiB, and the largest Rockchip devicetree with symbols enabled is 176KiB (rk3588-evb1-v10.dtb). Change-Id: Iea9343d7a30ee26cad3ee5cc848980a93873ae34 Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
This commit is contained in:
parent
0035ab76e5
commit
ab99dce4b7
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2016-2025, ARM Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ 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_baudrate = PLAT_RK_UART_BAUDRATE;
|
||||
static uint32_t rk_uart_clock = PLAT_RK_UART_CLOCK;
|
||||
#define FDT_BUFFER_SIZE 0x20000
|
||||
#define FDT_BUFFER_SIZE 0x60000
|
||||
static uint64_t fdt_buffer[FDT_BUFFER_SIZE / 8];
|
||||
|
||||
void *plat_get_fdt(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue