blob: 7245fe51b3b15bc4235e08e0e4f22f520bb54dd6 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glassb215fbd2016-11-25 20:16:02 -07002/*
3 * Copyright (C) 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
Simon Glassb215fbd2016-11-25 20:16:02 -07005 */
6
7#include <u-boot.dtsi>
8
9#ifdef CONFIG_ROM_SIZE
Simon Glass2463f162020-09-06 10:35:31 -060010&rom {
Bin Meng399de922017-01-18 03:32:58 -080011#ifdef CONFIG_SPL
Simon Glass2463f162020-09-06 10:35:31 -060012 u-boot-spl-with-ucode-ptr {
13 optional-ucode;
Simon Glassb215fbd2016-11-25 20:16:02 -070014 };
Simon Glass2463f162020-09-06 10:35:31 -060015#else
16 u-boot-with-ucode-ptr {
17 optional-ucode;
18 };
19#endif
Simon Glassb215fbd2016-11-25 20:16:02 -070020};
21#endif