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 | |
| 8 | / { |
| 9 | binman { |
Pali Rohár | c685084 | 2022-08-01 17:42:20 +0200 | [diff] [blame^] | 10 | filename = "u-boot.bin"; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 11 | 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ár | 946d664 | 2022-05-02 18:36:38 +0200 | [diff] [blame] | 23 | align = <4>; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 24 | #endif |
| 25 | }; |
| 26 | #ifdef CONFIG_MPC85XX_HAVE_RESET_VECTOR |
Hou Zhiqiang | 974d0ca | 2019-08-20 09:35:34 +0000 | [diff] [blame] | 27 | #ifndef CONFIG_RESET_VECTOR_ADDRESS |
| 28 | #define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc |
| 29 | #endif |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 30 | powerpc-mpc85xx-bootpg-resetvec { |
| 31 | offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>; |
| 32 | }; |
| 33 | #endif |
| 34 | }; |
| 35 | }; |