diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-16 21:44:50 -0400 |
|---|---|---|
| committer | Chris Zankel <chris@zankel.net> | 2012-10-03 18:13:09 -0400 |
| commit | 9ad79b58510b2845e5ffa77654596d7184a827ab (patch) | |
| tree | 77286849c1f91a94cff1f352772c53920950c17a /arch/xtensa/boot/ramdisk | |
| parent | b973b4c91be8f7de0531cf8ca2df41021d8f39b3 (diff) | |
xtensa: drop CONFIG_EMBEDDED_RAMDISK
Remove Kconfig entries, boot subdirectory, dependencies from other
boot-* Makefiles, and sections from ld scripts.
Remove stale redboot code that used to pass initrd addresses in a3 and
a4 to _start.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/boot/ramdisk')
| -rw-r--r-- | arch/xtensa/boot/ramdisk/Makefile | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/xtensa/boot/ramdisk/Makefile b/arch/xtensa/boot/ramdisk/Makefile deleted file mode 100644 index b12f7635243..00000000000 --- a/arch/xtensa/boot/ramdisk/Makefile +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Makefile for a ramdisk image | ||
| 3 | # | ||
| 4 | |||
| 5 | BIG_ENDIAN := $(shell echo -e "\#ifdef __XTENSA_EL__\nint little;\n\#else\nint big;\n\#endif" | $(CC) -E -|grep -c big) | ||
| 6 | |||
| 7 | ifeq ($(BIG_ENDIAN),1) | ||
| 8 | OBJCOPY_ARGS := -O elf32-xtensa-be | ||
| 9 | else | ||
| 10 | OBJCOPY_ARGS := -O elf32-xtensa-le | ||
| 11 | endif | ||
| 12 | |||
| 13 | obj-y = ramdisk.o | ||
| 14 | |||
| 15 | RAMDISK_IMAGE = arch/$(ARCH)/boot/ramdisk/$(CONFIG_EMBEDDED_RAMDISK_IMAGE) | ||
| 16 | |||
| 17 | arch/$(ARCH)/boot/ramdisk/ramdisk.o: | ||
| 18 | $(Q)echo -e "dummy:" | $(AS) -o $@; | ||
| 19 | $(Q)$(OBJCOPY) $(OBJCOPY_ARGS) \ | ||
| 20 | --add-section .initrd=$(RAMDISK_IMAGE) \ | ||
| 21 | --set-section-flags .initrd=contents,alloc,load,load,data \ | ||
| 22 | arch/$(ARCH)/boot/ramdisk/ramdisk.o $@ | ||
| 23 | |||
