Debian Codegraph @

plat/rockchip/rk3399/drivers/pmu/pmu_fw.S

raw
1 /*
2 * Copyright (c) 2024, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 /* convoluted way to make sure that the define is pasted just the right way */
8 .macro INCBIN file sym sec
9 .section \sec
10 .global \sym
11 .type \sym, @object
12 .align 4
13 \sym :
14 .incbin \file
15 .size \sym , .-\sym
16 .global \sym\()_end
17 \sym\()_end :
18 .endm
19
20 INCBIN ""RK3399M0FW"", "rk3399m0_bin", ".sram.incbin"
21 INCBIN ""RK3399M0PMUFW"", "rk3399m0pmu_bin", ".pmusram.incbin"