Commit c749f830 authored by Henrik Nordstrom's avatar Henrik Nordstrom
Browse files

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.
parent fa8e86bb
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);
......
......@@ -18,12 +18,6 @@
*/
#include <common.h>
#include <version.h>
__attribute__ ((section (".text.start"))) void _start(void)
{
s_init();
}
int sunxi_mmc_init(void)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment