1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# (C) Copyright 2002 3*4882a593Smuzhiyun# Sysgo Real-Time Solutions, GmbH <www.elinos.com> 4*4882a593Smuzhiyun# Marius Groeger <mgroeger@sysgo.de> 5*4882a593Smuzhiyun# 6*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0+ 7*4882a593Smuzhiyun# 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun# 10*4882a593Smuzhiyun# !WARNING! 11*4882a593Smuzhiyun# The PXA's OneNAND SPL uses .text.0 and .text.1 segments to allow booting from 12*4882a593Smuzhiyun# really small OneNAND memories where the mmap'd window is only 1KiB big. The 13*4882a593Smuzhiyun# .text.0 contains only the bare minimum needed to load the real SPL into SRAM. 14*4882a593Smuzhiyun# Add .text.0 and .text.1 into OBJFLAGS, so when the SPL is being objcopy'd, 15*4882a593Smuzhiyun# they are not discarded. 16*4882a593Smuzhiyun# 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun#ifdef CONFIG_SPL_BUILD 19*4882a593SmuzhiyunOBJCOPYFLAGS += -j .text.0 -j .text.1 20*4882a593Smuzhiyun#endif 21