Browse Source

ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7

The purpose of this patch is to prepare for adding the OMAP4 architecture, which is Cortex A9

Cortex A8 and A9 both belong to the armv7 architecture, hence the name change.

The two architectures are similar enough that substantial code can be shared.

Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Steve Sakoman 15 years ago
parent
commit
f56348af5d
49 changed files with 43 additions and 43 deletions
  1. 11 11
      MAINTAINERS
  2. 4 4
      MAKEALL
  3. 0 0
      arch/arm/cpu/armv7/Makefile
  4. 0 0
      arch/arm/cpu/armv7/config.mk
  5. 0 0
      arch/arm/cpu/armv7/cpu.c
  6. 0 0
      arch/arm/cpu/armv7/mx51/Makefile
  7. 0 0
      arch/arm/cpu/armv7/mx51/clock.c
  8. 0 0
      arch/arm/cpu/armv7/mx51/iomux.c
  9. 0 0
      arch/arm/cpu/armv7/mx51/lowlevel_init.S
  10. 0 0
      arch/arm/cpu/armv7/mx51/soc.c
  11. 0 0
      arch/arm/cpu/armv7/mx51/speed.c
  12. 0 0
      arch/arm/cpu/armv7/mx51/timer.c
  13. 1 1
      arch/arm/cpu/armv7/mx51/u-boot.lds
  14. 0 0
      arch/arm/cpu/armv7/omap3/Makefile
  15. 0 0
      arch/arm/cpu/armv7/omap3/board.c
  16. 0 0
      arch/arm/cpu/armv7/omap3/cache.S
  17. 0 0
      arch/arm/cpu/armv7/omap3/clock.c
  18. 0 0
      arch/arm/cpu/armv7/omap3/emif4.c
  19. 0 0
      arch/arm/cpu/armv7/omap3/gpio.c
  20. 0 0
      arch/arm/cpu/armv7/omap3/lowlevel_init.S
  21. 0 0
      arch/arm/cpu/armv7/omap3/mem.c
  22. 0 0
      arch/arm/cpu/armv7/omap3/reset.S
  23. 0 0
      arch/arm/cpu/armv7/omap3/sdrc.c
  24. 0 0
      arch/arm/cpu/armv7/omap3/sys_info.c
  25. 0 0
      arch/arm/cpu/armv7/omap3/syslib.c
  26. 0 0
      arch/arm/cpu/armv7/omap3/timer.c
  27. 0 0
      arch/arm/cpu/armv7/s5pc1xx/Makefile
  28. 1 1
      arch/arm/cpu/armv7/s5pc1xx/cache.S
  29. 0 0
      arch/arm/cpu/armv7/s5pc1xx/clock.c
  30. 0 0
      arch/arm/cpu/armv7/s5pc1xx/cpu_info.c
  31. 0 0
      arch/arm/cpu/armv7/s5pc1xx/reset.S
  32. 0 0
      arch/arm/cpu/armv7/s5pc1xx/sromc.c
  33. 0 0
      arch/arm/cpu/armv7/s5pc1xx/timer.c
  34. 0 0
      arch/arm/cpu/armv7/start.S
  35. 1 1
      arch/arm/cpu/armv7/u-boot.lds
  36. 1 1
      arch/arm/include/asm/arch-mx51/asm-offsets.h
  37. 1 1
      board/logicpd/zoom2/zoom2.c
  38. 12 12
      boards.cfg
  39. 1 1
      include/configs/am3517_evm.h
  40. 1 1
      include/configs/devkit8000.h
  41. 1 1
      include/configs/omap3_beagle.h
  42. 1 1
      include/configs/omap3_evm.h
  43. 1 1
      include/configs/omap3_overo.h
  44. 1 1
      include/configs/omap3_pandora.h
  45. 1 1
      include/configs/omap3_sdp3430.h
  46. 1 1
      include/configs/omap3_zoom1.h
  47. 1 1
      include/configs/omap3_zoom2.h
  48. 1 1
      include/configs/s5p_goni.h
  49. 1 1
      include/configs/smdkc100.h

+ 11 - 11
MAINTAINERS

@@ -550,7 +550,7 @@ Stefano Babic <sbabic@denx.de>
 
 Dirk Behme <dirk.behme@gmail.com>
 
-	omap3_beagle	ARM CORTEX-A8 (OMAP3530 SoC)
+	omap3_beagle	ARM ARMV7 (OMAP3530 SoC)
 
 Eric Benard <eric@eukrea.com>
 
@@ -616,11 +616,11 @@ Kshitij Gupta <kshitij@ti.com>
 
 Vaibhav Hiremath <hvaibhav@ti.com>
 
-	am3517_evm	ARM CORTEX-A8 (AM35x SoC)
+	am3517_evm	ARM ARMV7 (AM35x SoC)
 
 Grazvydas Ignotas <notasas@gmail.com>
 
-	omap3_pandora	ARM CORTEX-A8 (OMAP3xx SoC)
+	omap3_pandora	ARM ARMV7 (OMAP3xx SoC)
 
 Gary Jennejohn <garyj@denx.de>
 
@@ -650,12 +650,12 @@ Nishant Kamat <nskamat@ti.com>
 
 Minkyu Kang <mk7.kang@samsung.com>
 
-	s5p_goni	ARM CORTEX-A8 (S5PC110 SoC)
-	SMDKC100	ARM CORTEX-A8 (S5PC100 SoC)
+	s5p_goni	ARM ARMV7 (S5PC110 SoC)
+	SMDKC100	ARM ARMV7 (S5PC100 SoC)
 
 Frederik Kriewitz <frederik@kriewitz.eu>
 
-	devkit8000	ARM CORTEX-A8 (OMAP3530 SoC)
+	devkit8000	ARM ARMV7 (OMAP3530 SoC)
 
 Sergey Kubushyn <ksi@koi8.net>
 
@@ -680,8 +680,8 @@ Sergey Lapin <slapin@ossfans.org>
 
 Nishanth Menon <nm@ti.com>
 
-	omap3_sdp3430	ARM CORTEX-A8 (OMAP3xx SoC)
-	omap3_zoom1	ARM CORTEX-A8 (OMAP3xx SoC)
+	omap3_sdp3430	ARM ARMV7 (OMAP3xx SoC)
+	omap3_zoom1	ARM ARMV7 (OMAP3xx SoC)
 
 David Müller <d.mueller@elsoft.ch>
 
@@ -719,7 +719,7 @@ Dave Peverley <dpeverley@mpc-data.co.uk>
 
 Manikandan Pillai <mani.pillai@ti.com>
 
-	omap3_evm	ARM CORTEX-A8 (OMAP3xx SoC)
+	omap3_evm	ARM ARMV7 (OMAP3xx SoC)
 
 Stelian Pop <stelian.pop@leadtechdesign.com>
 
@@ -731,7 +731,7 @@ Stelian Pop <stelian.pop@leadtechdesign.com>
 
 Tom Rix <Tom.Rix@windriver.com>
 
-	omap3_zoom2	ARM CORTEX-A8 (OMAP3xx SoC)
+	omap3_zoom2	ARM ARMV7 (OMAP3xx SoC)
 
 John Rigby <jcrigby@gmail.com>
 
@@ -750,7 +750,7 @@ Nomadik Linux Team <STN_WMM_nomadik_linux@list.st.com>
 
 Steve Sakoman <sakoman@gmail.com>
 
-	omap3_overo	ARM CORTEX-A8 (OMAP3xx SoC)
+	omap3_overo	ARM ARMV7 (OMAP3xx SoC)
 
 Jens Scharsig <esw@bus-elektronik.de>
 

+ 4 - 4
MAKEALL

@@ -644,9 +644,9 @@ LIST_ARM11="			\
 "
 
 #########################################################################
-## ARM Cortex-A8 Systems
+## ARMV7 Systems
 #########################################################################
-LIST_ARM_CORTEX_A8="		\
+LIST_ARMV7="		\
 	am3517_evm		\
 	devkit8000		\
 	mx51evk			\
@@ -739,7 +739,7 @@ LIST_arm="			\
 	${LIST_ARM9}		\
 	${LIST_ARM10}		\
 	${LIST_ARM11}		\
-	${LIST_ARM_CORTEX_A8}	\
+	${LIST_ARMV7}	\
 	${LIST_at91}		\
 	${LIST_pxa}		\
 	${LIST_ixp}		\
@@ -1005,7 +1005,7 @@ print_stats() {
 for arg in $@
 do
 	case "$arg" in
-	arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \
+	arm|SA|ARM7|ARM9|ARM10|ARM11|ARMV7|at91|ixp|pxa \
 	|avr32 \
 	|blackfin \
 	|coldfire \

+ 0 - 0
arch/arm/cpu/arm_cortexa8/Makefile → arch/arm/cpu/armv7/Makefile


+ 0 - 0
arch/arm/cpu/arm_cortexa8/config.mk → arch/arm/cpu/armv7/config.mk


+ 0 - 0
arch/arm/cpu/arm_cortexa8/cpu.c → arch/arm/cpu/armv7/cpu.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/Makefile → arch/arm/cpu/armv7/mx51/Makefile


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/clock.c → arch/arm/cpu/armv7/mx51/clock.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/iomux.c → arch/arm/cpu/armv7/mx51/iomux.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/lowlevel_init.S → arch/arm/cpu/armv7/mx51/lowlevel_init.S


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/soc.c → arch/arm/cpu/armv7/mx51/soc.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/speed.c → arch/arm/cpu/armv7/mx51/speed.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/mx51/timer.c → arch/arm/cpu/armv7/mx51/timer.c


+ 1 - 1
arch/arm/cpu/arm_cortexa8/mx51/u-boot.lds → arch/arm/cpu/armv7/mx51/u-boot.lds

@@ -36,7 +36,7 @@ SECTIONS
 	. = ALIGN(4);
 	.text	   :
 	{
-	  arch/arm/cpu/arm_cortexa8/start.o
+	  arch/arm/cpu/armv7/start.o
 	  *(.text)
 	}
 

+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/Makefile → arch/arm/cpu/armv7/omap3/Makefile


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/board.c → arch/arm/cpu/armv7/omap3/board.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/cache.S → arch/arm/cpu/armv7/omap3/cache.S


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/clock.c → arch/arm/cpu/armv7/omap3/clock.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/emif4.c → arch/arm/cpu/armv7/omap3/emif4.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/gpio.c → arch/arm/cpu/armv7/omap3/gpio.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/lowlevel_init.S → arch/arm/cpu/armv7/omap3/lowlevel_init.S


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/mem.c → arch/arm/cpu/armv7/omap3/mem.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/reset.S → arch/arm/cpu/armv7/omap3/reset.S


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/sdrc.c → arch/arm/cpu/armv7/omap3/sdrc.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/sys_info.c → arch/arm/cpu/armv7/omap3/sys_info.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/syslib.c → arch/arm/cpu/armv7/omap3/syslib.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/omap3/timer.c → arch/arm/cpu/armv7/omap3/timer.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/s5pc1xx/Makefile → arch/arm/cpu/armv7/s5pc1xx/Makefile


+ 1 - 1
arch/arm/cpu/arm_cortexa8/s5pc1xx/cache.S → arch/arm/cpu/armv7/s5pc1xx/cache.S

@@ -2,7 +2,7 @@
  * Copyright (C) 2009 Samsung Electronics
  * Minkyu Kang <mk7.kang@samsung.com>
  *
- * based on arch/arm/cpu/arm_cortexa8/omap3/cache.S
+ * based on arch/arm/cpu/armv7/omap3/cache.S
  *
  * See file CREDITS for list of people who contributed to this
  * project.

+ 0 - 0
arch/arm/cpu/arm_cortexa8/s5pc1xx/clock.c → arch/arm/cpu/armv7/s5pc1xx/clock.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/s5pc1xx/cpu_info.c → arch/arm/cpu/armv7/s5pc1xx/cpu_info.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/s5pc1xx/reset.S → arch/arm/cpu/armv7/s5pc1xx/reset.S


+ 0 - 0
arch/arm/cpu/arm_cortexa8/s5pc1xx/sromc.c → arch/arm/cpu/armv7/s5pc1xx/sromc.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/s5pc1xx/timer.c → arch/arm/cpu/armv7/s5pc1xx/timer.c


+ 0 - 0
arch/arm/cpu/arm_cortexa8/start.S → arch/arm/cpu/armv7/start.S


+ 1 - 1
arch/arm/cpu/arm_cortexa8/u-boot.lds → arch/arm/cpu/armv7/u-boot.lds

@@ -34,7 +34,7 @@ SECTIONS
 	. = ALIGN(4);
 	.text	:
 	{
-		arch/arm/cpu/arm_cortexa8/start.o	(.text)
+		arch/arm/cpu/armv7/start.o	(.text)
 		*(.text)
 	}
 

+ 1 - 1
arch/arm/include/asm/arch-mx51/asm-offsets.h

@@ -1,5 +1,5 @@
 /*
- * needed for arch/arm/cpu/arm_cortexa8/mx51/lowlevel_init.S
+ * needed for arch/arm/cpu/armv7/mx51/lowlevel_init.S
  *
  * These should be auto-generated
  */

+ 1 - 1
board/logicpd/zoom2/zoom2.c

@@ -46,7 +46,7 @@
 /*
  * This the the zoom2, board specific, gpmc configuration for the
  * quad uart on the debug board.   The more general gpmc configurations
- * are setup at the cpu level in arch/arm/cpu/arm_cortexa8/omap3/mem.c
+ * are setup at the cpu level in arch/arm/cpu/armv7/omap3/mem.c
  *
  * The details of the setting of the serial gpmc setup are not available.
  * The values were provided by another party.

+ 12 - 12
boards.cfg

@@ -45,7 +45,7 @@ pm9261		arm	arm926ejs	-		ronetix		at91
 pm9263		arm	arm926ejs	-		ronetix		at91
 suen3		arm	arm926ejs	km_arm		keymile		kirkwood
 rd6281a		arm	arm926ejs	-		Marvell		kirkwood
-mx51evk		arm	arm_cortexa8	mx51evk		freescale	mx51
+mx51evk		arm	armv7		mx51evk		freescale	mx51
 actux1		arm	ixp
 actux2		arm	ixp
 actux3		arm	ixp
@@ -255,17 +255,17 @@ imx27lite	arm	arm926ejs	imx27lite	logicpd		mx27
 magnesium	arm	arm926ejs	imx27lite	logicpd		mx27
 omap5912osk	arm	arm926ejs	-		ti		omap
 edminiv2	arm	arm926ejs	-		LaCie		orion5x
-omap3_overo	arm	arm_cortexa8	overo		-		omap3
-omap3_pandora	arm	arm_cortexa8	pandora		-		omap3
-omap3_zoom1	arm	arm_cortexa8	zoom1		logicpd		omap3
-omap3_zoom2	arm	arm_cortexa8	zoom2		logicpd		omap3
-omap3_beagle	arm	arm_cortexa8	beagle		ti		omap3
-omap3_evm	arm	arm_cortexa8	evm		ti		omap3
-omap3_sdp3430	arm	arm_cortexa8	sdp3430		ti		omap3
-am3517_evm	arm	arm_cortexa8	am3517evm	logicpd		omap3
-devkit8000	arm	arm_cortexa8	devkit8000	timll		omap3
-s5p_goni	arm	arm_cortexa8	goni		samsung		s5pc1xx
-smdkc100	arm	arm_cortexa8	smdkc100	samsung		s5pc1xx
+omap3_overo	arm	armv7		overo		-		omap3
+omap3_pandora	arm	armv7		pandora		-		omap3
+omap3_zoom1	arm	armv7		zoom1		logicpd		omap3
+omap3_zoom2	arm	armv7		zoom2		logicpd		omap3
+omap3_beagle	arm	armv7		beagle		ti		omap3
+omap3_evm	arm	armv7		evm		ti		omap3
+omap3_sdp3430	arm	armv7		sdp3430		ti		omap3
+am3517_evm	arm	armv7		am3517evm	logicpd		omap3
+devkit8000	arm	armv7		devkit8000	timll		omap3
+s5p_goni	arm	armv7		goni		samsung		s5pc1xx
+smdkc100	arm	armv7		smdkc100	samsung		s5pc1xx
 ixdpg425	arm	ixp
 lpd7a400	arm	lh7a40x		lpd7a40x
 lpd7a404	arm	lh7a40x		lpd7a40x

+ 1 - 1
include/configs/am3517_evm.h

@@ -28,7 +28,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3_AM3517EVM	1	/* working with AM3517EVM */

+ 1 - 1
include/configs/devkit8000.h

@@ -32,7 +32,7 @@
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_beagle.h

@@ -31,7 +31,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_evm.h

@@ -36,7 +36,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_overo.h

@@ -23,7 +23,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_pandora.h

@@ -26,7 +26,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_sdp3430.h

@@ -36,7 +36,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_zoom1.h

@@ -32,7 +32,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/omap3_zoom2.h

@@ -33,7 +33,7 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX		1	/* which is a 34XX */
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */

+ 1 - 1
include/configs/s5p_goni.h

@@ -28,7 +28,7 @@
 #define __CONFIG_H
 
 /* High Level Configuration Options */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_SAMSUNG		1	/* in a SAMSUNG core */
 #define CONFIG_S5PC1XX		1	/* which is in a S5PC1XX Family */
 #define CONFIG_S5PC110		1	/* which is in a S5PC110 */

+ 1 - 1
include/configs/smdkc100.h

@@ -32,7 +32,7 @@
  * High Level Configuration Options
  * (easy to change)
  */
-#define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
+#define CONFIG_ARMV7		1	/* This is an ARM V7 CPU core */
 #define CONFIG_SAMSUNG		1	/* in a SAMSUNG core */
 #define CONFIG_S5PC1XX		1	/* which is in a S5PC1XX Family */
 #define CONFIG_S5PC100		1	/* which is in a S5PC100 */