felboot: Reduce to only a linkerscript + stubs to compensate for general SPL config

The stubs is only needed because we are using objects from a full
SPL build. Even these will go away when felboot is integrated in
u-boot, reducing it to only a link script and config changes.
This commit is contained in:
Henrik Nordstrom 2013-05-24 00:30:24 +02:00
parent fa8e86bb2a
commit c749f83060
2 changed files with 2 additions and 8 deletions

View File

@ -1,13 +1,13 @@
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
ENTRY(s_init)
SECTIONS
{
. = 0x00002000;
. = ALIGN(4);
.text :
{
main.o (.text.start)
*(.text.s_init)
*(.text*)
}
. = ALIGN(4);

View File

@ -18,12 +18,6 @@
*/
#include <common.h>
#include <version.h>
__attribute__ ((section (".text.start"))) void _start(void)
{
s_init();
}
int sunxi_mmc_init(void)
{