184ad6884SPeter Tyser# 284ad6884SPeter Tyser# (C) Copyright 2002 384ad6884SPeter Tyser# Sysgo Real-Time Solutions, GmbH <www.elinos.com> 484ad6884SPeter Tyser# Marius Groeger <mgroeger@sysgo.de> 584ad6884SPeter Tyser# 61a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 784ad6884SPeter Tyser# 884ad6884SPeter Tyser 984c617beSMike DunnPLATFORM_CPPFLAGS += -mcpu=xscale 1067decc71SMarek Vasut 1167decc71SMarek Vasut# 1267decc71SMarek Vasut# !WARNING! 1367decc71SMarek Vasut# The PXA's OneNAND SPL uses .text.0 and .text.1 segments to allow booting from 1467decc71SMarek Vasut# really small OneNAND memories where the mmap'd window is only 1KiB big. The 1567decc71SMarek Vasut# .text.0 contains only the bare minimum needed to load the real SPL into SRAM. 1667decc71SMarek Vasut# Add .text.0 and .text.1 into OBJFLAGS, so when the SPL is being objcopy'd, 1767decc71SMarek Vasut# they are not discarded. 1867decc71SMarek Vasut# 1967decc71SMarek Vasut 2067decc71SMarek Vasut#ifdef CONFIG_SPL_BUILD 21*95ddcd68SMasahiro YamadaOBJCOPYFLAGS += -j .text.0 -j .text.1 2267decc71SMarek Vasut#endif 23