mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-06 06:21:29 +02:00
On Total Compute, TF-A passes the info via DT binding for the hardware description - includes the serial, memory, and arm_ffa nodes. This commit initializes the fdt base address based on the passed the register x1. The similar implementation has already been done for the raspberry pi, so borrow a lot of it. Co-developed-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
13 lines
236 B
ArmAsm
13 lines
236 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2024 Arm Limited
|
|
*/
|
|
|
|
.global save_boot_params
|
|
save_boot_params:
|
|
/* The firmware provided FDT address via x1 */
|
|
adr x8, fw_dtb_pointer
|
|
str x1, [x8]
|
|
|
|
b save_boot_params_ret
|