Skip to content

Commit

Permalink
felboot: Reduce to only a linkerscript + stubs to compensate for gene…
Browse files Browse the repository at this point in the history
…ral 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.
  • Loading branch information
hno committed May 23, 2013
1 parent fa8e86b commit c749f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions felboot/fel-boot.ld
@@ -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);
Expand Down
6 changes: 0 additions & 6 deletions felboot/main.c
Expand Up @@ -18,12 +18,6 @@
*/

#include <common.h>
#include <version.h>

__attribute__ ((section (".text.start"))) void _start(void)
{
s_init();
}

int sunxi_mmc_init(void)
{
Expand Down

0 comments on commit c749f83

Please sign in to comment.