Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14303
b: refs/heads/master
c: ce07d90
h: refs/heads/master
i:
  14301: 2a977a9
  14299: 0d4be45
  14295: 6b3738c
  14287: bcbef3e
  14271: 75a191f
v: v3
  • Loading branch information
Russell King authored and Russell King committed Nov 16, 2005
1 parent e7ef4a9 commit 6be6a6f
Show file tree
Hide file tree
Showing 70 changed files with 614 additions and 1,795 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbf0e1348ec4023675123d432ce1fdfa1eef8e54
refs/heads/master: ce07d90aa80a4c9a956eb2f662e4be5ea5c6baf8
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-realview/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include <asm/leds.h>
#include <asm/io.h>

#define __io_address(n) __io(IO_ADDRESS(n))

extern struct sys_timer realview_timer;

#define AMBA_DEVICE(name,busid,base,plat) \
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-realview/localtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <asm/io.h>
#include <asm/irq.h>

#include "core.h"

#define TWD_BASE(cpu) (__io_address(REALVIEW_TWD_BASE) + \
((cpu) * REALVIEW_TWD_SIZE))

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-realview/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
#include <asm/cacheflush.h>
#include <asm/hardware/arm_scu.h>
#include <asm/hardware.h>

#include "core.h"
#include <asm/io.h>

extern void realview_secondary_startup(void);

Expand Down
25 changes: 18 additions & 7 deletions trunk/arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

HAS_BIARCH := $(call cc-option-yn, -m32)

ifeq ($(CONFIG_PPC64),y)
OLDARCH := ppc64
SZ := 64

# Set default 32 bits cross compilers for vdso and boot wrapper
CROSS32_COMPILE ?=

Expand All @@ -33,10 +37,6 @@ endif

export CROSS32CC CROSS32AS CROSS32LD CROSS32OBJCOPY

ifeq ($(CONFIG_PPC64),y)
OLDARCH := ppc64
SZ := 64

new_nm := $(shell if $(NM) --help 2>&1 | grep -- '--synthetic' > /dev/null; then echo y; else echo n; fi)

ifeq ($(new_nm),y)
Expand Down Expand Up @@ -139,7 +139,7 @@ drivers-$(CONFIG_CPM2) += arch/ppc/8260_io/

drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/

defaultimage-$(CONFIG_PPC32) := zImage
defaultimage-$(CONFIG_PPC32) := uImage zImage
defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux
defaultimage-$(CONFIG_PPC_PSERIES) := zImage
KBUILD_IMAGE := $(defaultimage-y)
Expand All @@ -154,13 +154,23 @@ BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm

.PHONY: $(BOOT_TARGETS)

boot := arch/$(ARCH)/boot
boot := arch/$(OLDARCH)/boot

# urk
ifeq ($(CONFIG_PPC64),y)
$(BOOT_TARGETS): vmlinux
$(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@)
else
$(BOOT_TARGETS): vmlinux
$(Q)$(MAKE) ARCH=ppc $(build)=$(boot) $@
endif

uImage: vmlinux
$(Q)$(MAKE) ARCH=$(OLDARCH) $(build)=$(boot)/images $(boot)/images/$@

define archhelp
@echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage.*)'
@echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/images/zImage.*)'
@echo ' uImage - Create a bootable image for U-Boot / PPCBoot'
@echo ' install - Install kernel using'
@echo ' (your) ~/bin/installkernel or'
@echo ' (distribution) /sbin/installkernel or'
Expand All @@ -170,6 +180,7 @@ endef

archclean:
$(Q)$(MAKE) $(clean)=$(boot)
# Temporary hack until we have migrated to asm-powerpc
$(Q)rm -rf arch/$(ARCH)/include

archprepare: checkbin
Expand Down
Loading

0 comments on commit 6be6a6f

Please sign in to comment.