blob: c39ab6f0cacd0185760a1b52254a3a640e9131d8 [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 {
Heiko Schocher1873cf92023-01-24 18:06:50 +010012 filename = "u-boot-dtb.bin";
Simon Glass72cc5382022-10-20 18:22:39 -060013 skip-at-start = <CONFIG_TEXT_BASE>;
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053014 sort-by-offset;
15 pad-byte = <0xff>;
16 size = <CONFIG_SYS_MONITOR_LEN>;
17
18 u-boot-with-ucode-ptr {
Simon Glass72cc5382022-10-20 18:22:39 -060019 offset = <CONFIG_TEXT_BASE>;
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053020 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 };
Tom Riniaac81492022-12-04 10:13:40 -050026#ifndef CFG_RESET_VECTOR_ADDRESS
27#define CFG_RESET_VECTOR_ADDRESS 0xfffffffc
Hou Zhiqiang974d0ca2019-08-20 09:35:34 +000028#endif
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053029 powerpc-mpc85xx-bootpg-resetvec {
Tom Riniaac81492022-12-04 10:13:40 -050030 offset = <(CFG_RESET_VECTOR_ADDRESS - 0xffc)>;
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053031 };
Jagdish Gediya4061bbc2018-09-03 21:35:11 +053032 };
33};
Pali Rohára073a9c2022-08-03 13:24:42 +020034
35#endif