1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Cédric Schieli <cschieli@gmail.com>
10 * Routine: save_boot_params (called after reset from start.S)
11 * Description: save ATAG/FDT address provided by the firmware at boot time
14 .global save_boot_params
17 /* The firmware provided ATAG/FDT address can be found in r2/x0 */
19 adr x8, fw_dtb_pointer
22 ldr r8, =fw_dtb_pointer
27 b save_boot_params_ret