blob: ad72ca970071f39554ad93dae33813771e77a877 [file] [log] [blame]
Jagan Teki79030a42020-01-10 00:16:21 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
4 */
5
6#include <config.h>
7
8/ {
Simon Glass9b312e22020-07-19 13:55:57 -06009 binman: binman {
10 multiple-images;
11 };
12};
13
Simon Glasse999bea2020-07-19 13:56:07 -060014#ifdef CONFIG_SPL
Simon Glass9b312e22020-07-19 13:55:57 -060015&binman {
16 simple-bin {
Jagan Teki79030a42020-01-10 00:16:21 +053017 filename = "u-boot-rockchip.bin";
18 pad-byte = <0xff>;
19
Quentin Schulz001f7882022-09-02 15:10:51 +020020 mkimage {
Jagan Teki79030a42020-01-10 00:16:21 +053021 filename = "idbloader.img";
Quentin Schulz001f7882022-09-02 15:10:51 +020022 args = "-n", CONFIG_SYS_SOC, "-T", "rksd";
23#ifdef CONFIG_TPL
24 multiple-data-files;
25
26 u-boot-tpl {
27 };
28#endif
29 u-boot-spl {
30 };
Jagan Teki79030a42020-01-10 00:16:21 +053031 };
32
33 u-boot-img {
34 offset = <CONFIG_SPL_PAD_TO>;
35 };
36 };
37};
Simon Glasse999bea2020-07-19 13:56:07 -060038#endif