]> git.sur5r.net Git - u-boot/blob - board/qualcomm/dragonboard410c/lowlevel_init.S
MAINTAINERS: Take over DB410c maintainership
[u-boot] / board / qualcomm / dragonboard410c / lowlevel_init.S
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2016
4  * Cédric Schieli <cschieli@gmail.com>
5  */
6
7 #include <config.h>
8
9 .align 8
10 .global fw_dtb
11 fw_dtb:
12         .dword 0x0
13
14 /*
15  * Routine: save_boot_params (called after reset from start.S)
16  * Description: save ATAG/FDT address provided by the firmware at boot time
17  */
18
19 .global save_boot_params
20 save_boot_params:
21
22         /* The firmware provided ATAG/FDT address can be found in r2/x0 */
23         adr     x8, fw_dtb
24         str     x0, [x8]
25
26         /* Returns */
27         b       save_boot_params_ret