blob: 6588bb7fa5e2bebdfcb28c71da46800bcb1c1de0 [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
Pali Rohára073a9c2022-08-03 13:24:42 +02008#if defined(CONFIG_MPC85XX_HAVE_RESET_VECTOR) && defined(CONFIG_OF_SEPARATE)
9
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053010/ {
11 binman {
Pali Rohárc6850842022-08-01 17:42:20 +020012 filename = "u-boot.bin";
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053013 skip-at-start = <CONFIG_SYS_TEXT_BASE>;
14 sort-by-offset;
15 pad-byte = <0xff>;
16 size = <CONFIG_SYS_MONITOR_LEN>;
17
18 u-boot-with-ucode-ptr {
19 offset = <CONFIG_SYS_TEXT_BASE>;
20 optional-ucode;
21 };
22
23 u-boot-dtb-with-ucode {
Pali Rohár946d6642022-05-02 18:36:38 +020024 align = <4>;
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053025 };
Hou Zhiqiang974d0ca2019-08-20 09:35:34 +000026#ifndef CONFIG_RESET_VECTOR_ADDRESS
27#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
28#endif
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053029 powerpc-mpc85xx-bootpg-resetvec {
30 offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
31 };
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053032 };
33};
Pali Rohára073a9c2022-08-03 13:24:42 +020034
35#endif