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 { |
Pali Rohár | c685084 | 2022-08-01 17:42:20 +0200 | [diff] [blame] | 12 | filename = "u-boot.bin"; |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 13 | 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á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 | }; |
Hou Zhiqiang | 974d0ca | 2019-08-20 09:35:34 +0000 | [diff] [blame] | 26 | #ifndef CONFIG_RESET_VECTOR_ADDRESS |
| 27 | #define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc |
| 28 | #endif |
Jagdish Gediya | 4061bbc | 2018-09-03 21:35:11 +0530 | [diff] [blame] | 29 | powerpc-mpc85xx-bootpg-resetvec { |
| 30 | offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>; |
| 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 |