Skip to content

Commit

Permalink
xtensa: add U-Boot image support (uImage).
Browse files Browse the repository at this point in the history
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
  • Loading branch information
jcmvbkbc authored and czankel committed Dec 19, 2012
1 parent 3f5ec29 commit 0322cab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/xtensa/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ subdir-y := lib
# Subdirs for the boot loader(s)

bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf
bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf
bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf boot-uboot


zImage Image: $(bootdir-y)
Expand All @@ -41,3 +41,4 @@ vmlinux.bin.gz: vmlinux.bin FORCE

boot-elf: vmlinux.bin
boot-redboot: vmlinux.bin.gz
boot-uboot: vmlinux.bin.gz
14 changes: 14 additions & 0 deletions arch/xtensa/boot/boot-uboot/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
#

UIMAGE_LOADADDR = 0xd0001000
UIMAGE_COMPRESSION = gzip

$(obj)/../uImage: vmlinux.bin.gz FORCE
$(call if_changed,uimage)
$(Q)$(kecho) ' Kernel: $@ is ready'

zImage: $(obj)/../uImage

0 comments on commit 0322cab

Please sign in to comment.