Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | dc926ed | 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 | dc926ed | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <u-boot.dtsi> | ||||
8 | |||||
9 | #ifdef CONFIG_ROM_SIZE | ||||
Simon Glass | 9612c12 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 10 | &rom { |
Bin Meng | 3a8beb7 | 2017-01-18 03:32:58 -0800 | [diff] [blame] | 11 | #ifdef CONFIG_SPL |
Simon Glass | 9612c12 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 12 | u-boot-spl-with-ucode-ptr { |
13 | optional-ucode; | ||||
14 | }; | ||||
Bin Meng | 3a8beb7 | 2017-01-18 03:32:58 -0800 | [diff] [blame] | 15 | #else |
Simon Glass | 9612c12 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 16 | u-boot-with-ucode-ptr { |
17 | optional-ucode; | ||||
Simon Glass | dc926ed | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 18 | }; |
Simon Glass | 9612c12 | 2020-09-06 10:35:31 -0600 | [diff] [blame] | 19 | #endif |
Simon Glass | dc926ed | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 20 | }; |
21 | #endif |