blob: 26f331317b7b88176919b207ed8f770d22587349 [file] [log] [blame]
Andrey Skvortsovaa93a4a2023-12-08 17:07:07 +03001/*
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
20INCBIN ""RK3399M0FW"", "rk3399m0_bin", ".sram.incbin"
21INCBIN ""RK3399M0PMUFW"", "rk3399m0pmu_bin", ".pmusram.incbin"