Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh64-2.6
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh64-2.6:
  sh64: mach-cayman: Build fixes.
  sh64: Symbol export fixups.
  sh64: linker script tidying and alignment fixups.
  sh64: Set KBUILD_IMAGE to make the rpm target happy.
  sh64: Kill off obsolete linux/blk.h reference.
  sh64: cleanup struct irqaction initializers.
  sh64: Kill off dead gdb stub symbol.
  sh64: alphanumeric display only on Cayman.
  sh64: Add defconfigs for mach-sim and mach-harp.
  sh64: update cayman defconfig.
  sh64: Tidy up Kconfig dependencies.
  sh64: Move consistent DMA routines to arch/sh64/mm/.
  sh64: Some symbol exports and build fixes.
  sh64: mach-sim: Build fixes.
  sh64: mach-harp: Build fixes.
  sh64: Kill off duplicate frame pointer option.
  sh64: Kill off dead ROM-RAM and generic boards.
  sh64: Tidy up includes for Cayman board.
  sh64: Move *_p() I/O routine variants to io.h.
  • Loading branch information
Linus Torvalds committed Oct 13, 2007
2 parents dcf397f + cb0f3fe commit ecaedfa
Show file tree
Hide file tree
Showing 26 changed files with 1,641 additions and 455 deletions.
51 changes: 19 additions & 32 deletions arch/sh64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ config GENERIC_CALIBRATE_DELAY
bool
default y

config GENERIC_HARDIRQS
bool
default y

config GENERIC_IRQ_PROBE
bool
default y

config RWSEM_XCHGADD_ALGORITHM
bool

Expand All @@ -58,18 +66,12 @@ choice
prompt "SuperH system type"
default SH_SIMULATOR

config SH_GENERIC
bool "Generic"

config SH_SIMULATOR
bool "Simulator"

config SH_CAYMAN
bool "Cayman"

config SH_ROMRAM
bool "ROM/RAM"

config SH_HARP
bool "ST50-Harp"

Expand Down Expand Up @@ -152,60 +154,54 @@ comment "Memory options"

config CACHED_MEMORY_OFFSET
hex "Cached Area Offset"
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "20000000"

config MEMORY_START
hex "Physical memory start address"
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "80000000"

config MEMORY_SIZE_IN_MB
int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "64" if SH_HARP || SH_CAYMAN
int "Memory size (in MB)"
default "8" if SH_SIMULATOR
default "64"

comment "Cache options"

config DCACHE_DISABLED
bool "DCache Disabling"
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR

choice
prompt "DCache mode"
depends on !DCACHE_DISABLED && !SH_SIMULATOR
default DCACHE_DISABLED if SH_SIMULATOR
default DCACHE_WRITE_BACK

config DCACHE_WRITE_BACK
bool "Write-back"
depends on !SH_SIMULATOR

config DCACHE_WRITE_THROUGH
bool "Write-through"
depends on !SH_SIMULATOR

config DCACHE_DISABLED
bool "Disabled"

endchoice

config ICACHE_DISABLED
bool "ICache Disabling"
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR

config PCIDEVICE_MEMORY_START
hex
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "C0000000"

config DEVICE_MEMORY_START
hex
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "E0000000"

config FLASH_MEMORY_START
hex "Flash memory/on-chip devices start address"
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "00000000"

config PCI_BLOCK_START
hex "PCI block start address"
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
default "40000000"

comment "CPU Subtype specific options"
Expand All @@ -214,8 +210,10 @@ config SH64_ID2815_WORKAROUND
bool "Include workaround for SH5-101 cut2 silicon defect ID2815"

comment "Misc options"

config HEARTBEAT
bool "Heartbeat LED"
depends on SH_CAYMAN

config HDSP253_LED
bool "Support for HDSP-253 LED"
Expand All @@ -242,6 +240,7 @@ config SBUS

config PCI
bool "PCI support"
depends on SH_CAYMAN
help
Find out whether you have a PCI motherboard. PCI is the name of a
bus system, i.e. the way the CPU talks to the other stuff inside
Expand Down Expand Up @@ -294,15 +293,3 @@ source "security/Kconfig"
source "crypto/Kconfig"

source "lib/Kconfig"

#
# Use the generic interrupt handling code in kernel/irq/:
#
config GENERIC_HARDIRQS
bool
default y

config GENERIC_IRQ_PROBE
bool
default y

13 changes: 1 addition & 12 deletions arch/sh64/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ source "lib/Kconfig.debug"
config EARLY_PRINTK
bool "Early SCIF console support"

config DEBUG_KERNEL_WITH_GDB_STUB
bool "GDB Stub kernel debug"

config SH64_PROC_TLB
bool "Debug: report TLB fill/purge activity through /proc/tlb"
depends on PROC_FS
Expand All @@ -28,17 +25,9 @@ config POOR_MANS_STRACE

config SH_ALPHANUMERIC
bool "Enable debug outputs to on-board alphanumeric display"
depends on SH_CAYMAN

config SH_NO_BSS_INIT
bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"

config FRAME_POINTER
bool "Compile the kernel with frame pointers"
default y if KGDB
help
If you say Y here the resulting kernel image will be slightly larger
and slower, but it will give very useful debugging information.
If you don't debug the kernel, you can say N, but we may not be able
to solve problems without frame pointers.

endmenu
6 changes: 3 additions & 3 deletions arch/sh64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ OBJCOPYFLAGS := -O binary -R .note -R .comment -R .stab -R .stabstr -S
#
KBUILD_DEFCONFIG := cayman_defconfig

KBUILD_IMAGE := arch/$(ARCH)/boot/zImage

ifdef LOADADDR
LINKFLAGS += -Ttext $(word 1,$(LOADADDR))
endif

machine-$(CONFIG_SH_CAYMAN) := cayman
machine-$(CONFIG_SH_SIMULATOR) := sim
machine-$(CONFIG_SH_HARP) := harp
machine-$(CONFIG_SH_ROMRAM) := romram

head-y := arch/$(ARCH)/kernel/head.o arch/$(ARCH)/kernel/init_task.o

Expand Down Expand Up @@ -106,6 +107,5 @@ arch/$(ARCH)/lib/syscalltab.h: arch/sh64/kernel/syscalls.S
CLEAN_FILES += arch/$(ARCH)/lib/syscalltab.h

define archhelp
@echo ' zImage - Compressed kernel image (arch/sh64/boot/zImage)'
@echo '* zImage - Compressed kernel image'
endef

Loading

0 comments on commit ecaedfa

Please sign in to comment.