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