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 | ||||
10 | / { | ||||
11 | binman { | ||||
Bin Meng | 3a8beb7 | 2017-01-18 03:32:58 -0800 | [diff] [blame] | 12 | #ifdef CONFIG_SPL |
13 | u-boot-spl-with-ucode-ptr { | ||||
14 | optional-ucode; | ||||
15 | }; | ||||
16 | #else | ||||
Simon Glass | dc926ed | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 17 | u-boot-with-ucode-ptr { |
18 | optional-ucode; | ||||
19 | }; | ||||
Bin Meng | 3a8beb7 | 2017-01-18 03:32:58 -0800 | [diff] [blame] | 20 | #endif |
Simon Glass | dc926ed | 2016-11-25 20:16:02 -0700 | [diff] [blame] | 21 | }; |
22 | }; | ||||
23 | #endif |