Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143268
b: refs/heads/master
c: 3cc000b
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Apr 10, 2009
1 parent 2bc12dd commit e77496f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 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: 1bc571853381b81514cfc815b07a5cc2be4c86d2
refs/heads/master: 3cc000b58360d8df402e31277c3dc0ebe34ad110
7 changes: 6 additions & 1 deletion trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
-e s/arm.*/arm/ -e s/sa110/arm/ \
-e s/s390x/s390/ -e s/parisc64/parisc/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
-e s/sh.*/sh/ )
-e s/sh[234].*/sh/ )

# Cross compiling and selecting different set of gcc/bin-utils
# ---------------------------------------------------------------------------
Expand Down Expand Up @@ -210,6 +210,11 @@ ifeq ($(ARCH),sparc64)
SRCARCH := sparc
endif

# Additional ARCH settings for sh
ifeq ($(ARCH),sh64)
SRCARCH := sh
endif

# Where to locate arch specific headers
hdr-arch := $(SRCARCH)

Expand Down
17 changes: 15 additions & 2 deletions trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ config SUPERH
<http://www.linux-sh.org/>.

config SUPERH32
def_bool !SUPERH64
def_bool ARCH = "sh"
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_FUNCTION_TRACER
Expand All @@ -32,7 +32,7 @@ config SUPERH32
select ARCH_HIBERNATION_POSSIBLE if MMU

config SUPERH64
def_bool y if CPU_SH5
def_bool ARCH = "sh64"

config ARCH_DEFCONFIG
string
Expand Down Expand Up @@ -188,6 +188,8 @@ config ARCH_SHMOBILE
bool
select ARCH_SUSPEND_POSSIBLE

if SUPERH32

choice
prompt "Processor sub-type selection"

Expand Down Expand Up @@ -409,6 +411,15 @@ config CPU_SUBTYPE_SH7366
select SYS_SUPPORTS_NUMA
select SYS_SUPPORTS_CMT

endchoice

endif

if SUPERH64

choice
prompt "Processor sub-type selection"

# SH-5 Processor Support

config CPU_SUBTYPE_SH5_101
Expand All @@ -421,6 +432,8 @@ config CPU_SUBTYPE_SH5_103

endchoice

endif

source "arch/sh/mm/Kconfig"

source "arch/sh/Kconfig.cpu"
Expand Down

0 comments on commit e77496f

Please sign in to comment.