Skip to content

Commit

Permalink
move the code of lowlevel_init.c into stage1 area.
Browse files Browse the repository at this point in the history
change the linker file and make file for this target.

Signed-off-by: Zhigang Wu <[email protected]>
  • Loading branch information
wzgpeter committed Jun 8, 2019
1 parent 7fc14a0 commit 5d99450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/arm/cpu/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ SECTIONS
*(.__image_copy_start)
*(.vectors)
CPUDIR/start.o (.text*)
./board/samsung/smdk2440/lowlevel_init.o (.text*)
}

/* This needs to come before *(.text*) */
Expand All @@ -60,7 +61,7 @@ SECTIONS
*(.__efi_runtime_stop)
}

.text_rest :
.text_rest 0x30000000 :
{
*(.text*)
}
Expand Down
2 changes: 1 addition & 1 deletion board/samsung/smdk2440/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
#

obj-y := smdk2440.o
obj-y += lowlevel_init.o
extra-y += lowlevel_init.o

0 comments on commit 5d99450

Please sign in to comment.