1/*
2 * Copyright 2019 The Hafnium Authors.
3 *
4 * Use of this source code is governed by a BSD-style
5 * license that can be found in the LICENSE file or at
6 * https://opensource.org/licenses/BSD-3-Clause.
7 */
8
9.section .init.plat_boot_flow_hook, "ax"
10.global plat_boot_flow_hook
11plat_boot_flow_hook:
12	/* Save the FDT pointer to a global variable. */
13	adrp x25, plat_boot_flow_fdt_addr
14	add x25, x25, :lo12:plat_boot_flow_fdt_addr
15	str x0, [x25]
16	ret
17