Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | b215fbd | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 2 | /* |
3 | * Copyright (C) 2016 Google, Inc | ||||
4 | * Written by Simon Glass <sjg@chromium.org> | ||||
Simon Glass | b215fbd | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <u-boot.dtsi> | ||||
8 | |||||
9 | #ifdef CONFIG_ROM_SIZE | ||||
Simon Glass | 2463f16 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 10 | &rom { |
Bin Meng | 399de92 | 2017-01-18 03:32:58 -0800 | [diff] [blame] | 11 | #ifdef CONFIG_SPL |
Simon Glass | 2463f16 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 12 | u-boot-spl-with-ucode-ptr { |
13 | optional-ucode; | ||||
Simon Glass | b215fbd | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 14 | }; |
Simon Glass | 2463f16 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 15 | #else |
16 | u-boot-with-ucode-ptr { | ||||
17 | optional-ucode; | ||||
18 | }; | ||||
19 | #endif | ||||
Simon Glass | b215fbd | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 20 | }; |
21 | #endif |