1*83d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+ 284ad6884SPeter Tyser# 384ad6884SPeter Tyser# (C) Copyright 2002 484ad6884SPeter Tyser# Sysgo Real-Time Solutions, GmbH <www.elinos.com> 584ad6884SPeter Tyser# Marius Groeger <mgroeger@sysgo.de> 684ad6884SPeter Tyser 767decc71SMarek Vasut# 867decc71SMarek Vasut# !WARNING! 967decc71SMarek Vasut# The PXA's OneNAND SPL uses .text.0 and .text.1 segments to allow booting from 1067decc71SMarek Vasut# really small OneNAND memories where the mmap'd window is only 1KiB big. The 1167decc71SMarek Vasut# .text.0 contains only the bare minimum needed to load the real SPL into SRAM. 1267decc71SMarek Vasut# Add .text.0 and .text.1 into OBJFLAGS, so when the SPL is being objcopy'd, 1367decc71SMarek Vasut# they are not discarded. 1467decc71SMarek Vasut# 1567decc71SMarek Vasut 1667decc71SMarek Vasut#ifdef CONFIG_SPL_BUILD 1795ddcd68SMasahiro YamadaOBJCOPYFLAGS += -j .text.0 -j .text.1 1867decc71SMarek Vasut#endif 19