blob: 0251afddca824b12332f16ba107512e22339f364 [file] [log] [blame]
Jagdish Gediya4061bbc2018-09-03 21:35:11 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2018 NXP
4 */
5
6#include <config.h>
7
8/ {
9 binman {
Pali Rohárc6850842022-08-01 17:42:20 +020010 filename = "u-boot.bin";
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053011 skip-at-start = <CONFIG_SYS_TEXT_BASE>;
12 sort-by-offset;
13 pad-byte = <0xff>;
14 size = <CONFIG_SYS_MONITOR_LEN>;
15
16 u-boot-with-ucode-ptr {
17 offset = <CONFIG_SYS_TEXT_BASE>;
18 optional-ucode;
19 };
20
21 u-boot-dtb-with-ucode {
22#ifdef CONFIG_MPC85xx
Pali Rohár946d6642022-05-02 18:36:38 +020023 align = <4>;
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053024#endif
25 };
26#ifdef CONFIG_MPC85XX_HAVE_RESET_VECTOR
Hou Zhiqiang974d0ca2019-08-20 09:35:34 +000027#ifndef CONFIG_RESET_VECTOR_ADDRESS
28#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
29#endif
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053030 powerpc-mpc85xx-bootpg-resetvec {
31 offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
32 };
33#endif
34 };
35};