3 * Cédric Schieli <cschieli@gmail.com>
5 * SPDX-License-Identifier: GPL-2.0+
11 .global fw_dtb_pointer
20 * Routine: save_boot_params (called after reset from start.S)
21 * Description: save ATAG/FDT address provided by the firmware at boot time
24 .global save_boot_params
27 /* The firmware provided ATAG/FDT address can be found in r2/x0 */
29 adr x8, fw_dtb_pointer
32 str r2, fw_dtb_pointer
36 b save_boot_params_ret