From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 2 Nov 2011 17:23:13 -0500 Subject: [U-Boot] [PATCH 4/4 V2] PXA: Adapt Voipac PXA270 to OneNAND SPL In-Reply-To: <1320188094-6654-1-git-send-email-marek.vasut@gmail.com> References: <1320067393-18822-5-git-send-email-marek.vasut@gmail.com> <1320188094-6654-1-git-send-email-marek.vasut@gmail.com> Message-ID: <4EB1C2D1.4010701@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/01/2011 05:54 PM, Marek Vasut wrote: > +inline void board_init_f(unsigned long unused) Drop the inline. > + /* Start of the rest of the SPL */ > + . = CONFIG_SPL_TEXT_BASE + 0x800; > + > + .text.1 : > + { > + *(.text*) > + } > + > + . = ALIGN(4); > + .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } > + > + . = ALIGN(4); > + .data : { > + *(.data) > + } > + > + . = ALIGN(4); > + __u_boot_cmd_start = .; > + .u_boot_cmd : { *(.u_boot_cmd) } > + __u_boot_cmd_end = .; Commands in an SPL? -Scott