blob: bb66ad3c153df8655b4540760d95b4bc708c0036 [file] [log] [blame]
Junhui Liuc489ccb2025-01-15 00:46:38 +08001// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright (C) 2025 Junhui Liu <junhui.liu@pigmoral.tech>
4 */
5
6#include <linux/stringify.h>
7
8/ {
9 binman: binman {
10 };
11};
12
13&binman {
14 mkimage {
15 filename = "u-boot-gz.img";
16 args = "-A", "riscv", "-T", "firmware", "-O", "u-boot",
17 "-C", "gzip", "-n", "uboot",
18 "-a", __stringify(CONFIG_TEXT_BASE),
19 "-e", __stringify(CONFIG_TEXT_BASE);
20 blob {
21 filename = "u-boot.bin";
22 compress = "gzip";
23 };
24 };
25};