diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-11-04 22:36:00 -0500 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-12-19 00:10:23 -0500 |
commit | 0322cabd39e27614772595abb395871e86ebff66 (patch) | |
tree | f4d7a40b9de5de0c59bff3ebd818ba396a4e213a /arch/xtensa | |
parent | 3f5ec298e56587462d91320c9e49f3e38f2beb17 (diff) |
xtensa: add U-Boot image support (uImage).
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/boot/Makefile | 3 | ||||
-rw-r--r-- | arch/xtensa/boot/boot-uboot/Makefile | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 4453859ebc78..ff974fc2935b 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile | |||
@@ -22,7 +22,7 @@ subdir-y := lib | |||
22 | # Subdirs for the boot loader(s) | 22 | # Subdirs for the boot loader(s) |
23 | 23 | ||
24 | bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf | 24 | bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf |
25 | bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf | 25 | bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf boot-uboot |
26 | 26 | ||
27 | 27 | ||
28 | zImage Image: $(bootdir-y) | 28 | zImage Image: $(bootdir-y) |
@@ -41,3 +41,4 @@ vmlinux.bin.gz: vmlinux.bin FORCE | |||
41 | 41 | ||
42 | boot-elf: vmlinux.bin | 42 | boot-elf: vmlinux.bin |
43 | boot-redboot: vmlinux.bin.gz | 43 | boot-redboot: vmlinux.bin.gz |
44 | boot-uboot: vmlinux.bin.gz | ||
diff --git a/arch/xtensa/boot/boot-uboot/Makefile b/arch/xtensa/boot/boot-uboot/Makefile new file mode 100644 index 000000000000..bfbf8af582f1 --- /dev/null +++ b/arch/xtensa/boot/boot-uboot/Makefile | |||
@@ -0,0 +1,14 @@ | |||
1 | # | ||
2 | # This file is subject to the terms and conditions of the GNU General Public | ||
3 | # License. See the file "COPYING" in the main directory of this archive | ||
4 | # for more details. | ||
5 | # | ||
6 | |||
7 | UIMAGE_LOADADDR = 0xd0001000 | ||
8 | UIMAGE_COMPRESSION = gzip | ||
9 | |||
10 | $(obj)/../uImage: vmlinux.bin.gz FORCE | ||
11 | $(call if_changed,uimage) | ||
12 | $(Q)$(kecho) ' Kernel: $@ is ready' | ||
13 | |||
14 | zImage: $(obj)/../uImage | ||