Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2018 NXP | ||||
4 | */ | ||||
5 | |||||
6 | #include <config.h> | ||||
7 | |||||
Pali Rohár | a073a9c | 2022-08-03 13:24:42 +0200 | [diff] [blame] | 8 | #if defined(CONFIG_MPC85XX_HAVE_RESET_VECTOR) && defined(CONFIG_OF_SEPARATE) |
9 | |||||
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 10 | / { |
11 | binman { | ||||
Heiko Schocher | 1873cf9 | 2023-01-24 18:06:50 +0100 | [diff] [blame] | 12 | filename = "u-boot-dtb.bin"; |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 13 | skip-at-start = <CONFIG_TEXT_BASE>; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 14 | sort-by-offset; |
15 | pad-byte = <0xff>; | ||||
16 | size = <CONFIG_SYS_MONITOR_LEN>; | ||||
17 | |||||
18 | u-boot-with-ucode-ptr { | ||||
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 19 | offset = <CONFIG_TEXT_BASE>; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 20 | optional-ucode; |
21 | }; | ||||
22 | |||||
23 | u-boot-dtb-with-ucode { | ||||
Pali Rohár | 946d664 | 2022-05-02 18:36:38 +0200 | [diff] [blame] | 24 | align = <4>; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 25 | }; |
Tom Rini | aac8149 | 2022-12-04 10:13:40 -0500 | [diff] [blame] | 26 | #ifndef CFG_RESET_VECTOR_ADDRESS |
27 | #define CFG_RESET_VECTOR_ADDRESS 0xfffffffc | ||||
Hou Zhiqiang | 974d0ca | 2019-08-20 09:35:34 +0000 | [diff] [blame] | 28 | #endif |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 29 | powerpc-mpc85xx-bootpg-resetvec { |
Tom Rini | aac8149 | 2022-12-04 10:13:40 -0500 | [diff] [blame] | 30 | offset = <(CFG_RESET_VECTOR_ADDRESS - 0xffc)>; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 31 | }; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 32 | }; |
33 | }; | ||||
Pali Rohár | a073a9c | 2022-08-03 13:24:42 +0200 | [diff] [blame] | 34 | |
35 | #endif |