소스 검색

sh: Move mach-cayman in with the rest of the boards.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 년 전
부모
커밋
03713bd226
7개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 4
      arch/sh/Makefile
  2. 0 0
      arch/sh/boards/cayman/Makefile
  3. 0 0
      arch/sh/boards/cayman/irq.c
  4. 0 0
      arch/sh/boards/cayman/led.c
  5. 0 0
      arch/sh/boards/cayman/setup.c
  6. 0 1
      arch/sh/kernel/time_64.c
  7. 1 0
      arch/sh/tools/mach-types

+ 1 - 4
arch/sh/Makefile

@@ -131,6 +131,7 @@ machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE)	+= se/7206
 machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE)	+= se/7619
 machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE)	+= se/7619
 machdir-$(CONFIG_SH_LBOX_RE2)			+= lboxre2
 machdir-$(CONFIG_SH_LBOX_RE2)			+= lboxre2
 machdir-$(CONFIG_SH_MAGIC_PANEL_R2)		+= magicpanelr2
 machdir-$(CONFIG_SH_MAGIC_PANEL_R2)		+= magicpanelr2
+machdir-$(CONFIG_SH_CAYMAN)			+= cayman
 
 
 incdir-y	:= $(notdir $(machdir-y))
 incdir-y	:= $(notdir $(machdir-y))
 
 
@@ -139,10 +140,6 @@ core-y	+= $(addprefix arch/sh/boards/, \
 	     $(filter-out ., $(patsubst %,%/,$(machdir-y))))
 	     $(filter-out ., $(patsubst %,%/,$(machdir-y))))
 endif
 endif
 
 
-# SH-5 mach types
-# XXX.. to be reconciled with machdir-y later.
-core-$(CONFIG_SH_CAYMAN)	+= arch/sh/mach-cayman/
-
 # Companion chips
 # Companion chips
 core-$(CONFIG_HD6446X_SERIES)	+= arch/sh/cchips/hd6446x/
 core-$(CONFIG_HD6446X_SERIES)	+= arch/sh/cchips/hd6446x/
 core-$(CONFIG_MFD_SM501)	+= arch/sh/cchips/voyagergx/
 core-$(CONFIG_MFD_SM501)	+= arch/sh/cchips/voyagergx/

+ 0 - 0
arch/sh/mach-cayman/Makefile → arch/sh/boards/cayman/Makefile


+ 0 - 0
arch/sh/mach-cayman/irq.c → arch/sh/boards/cayman/irq.c


+ 0 - 0
arch/sh/mach-cayman/led.c → arch/sh/boards/cayman/led.c


+ 0 - 0
arch/sh/mach-cayman/setup.c → arch/sh/boards/cayman/setup.c


+ 0 - 1
arch/sh/kernel/time_64.c

@@ -353,7 +353,6 @@ static __init unsigned int get_cpu_hz(void)
          * wrap-around (128) and CUI interrupt being raised (64).
          * wrap-around (128) and CUI interrupt being raised (64).
 	 */
 	 */
 	return count*2;
 	return count*2;
-#endif
 }
 }
 
 
 static irqreturn_t sh64_rtc_interrupt(int irq, void *dev_id)
 static irqreturn_t sh64_rtc_interrupt(int irq, void *dev_id)

+ 1 - 0
arch/sh/tools/mach-types

@@ -45,3 +45,4 @@ X3PROTO			SH_X3PROTO
 MAGICPANELR2		SH_MAGIC_PANEL_R2
 MAGICPANELR2		SH_MAGIC_PANEL_R2
 R2D_PLUS		RTS7751R2D_PLUS
 R2D_PLUS		RTS7751R2D_PLUS
 R2D_1			RTS7751R2D_1
 R2D_1			RTS7751R2D_1
+CAYMAN			SH_CAYMAN