Move arch/ppc to arch/powerpc
As discussed on the list, move "arch/ppc" to "arch/powerpc" to
better match the Linux directory structure.
Please note that this patch also changes the "ppc" target in
MAKEALL to "powerpc" to match this new infrastructure. But "ppc"
is kept as an alias for now, to not break compatibility with
scripts using this name.
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Anatolij Gustschin <agust@denx.de>
diff --git a/post/cpu/ppc4xx/spr.c b/post/cpu/ppc4xx/spr.c
index 6ff5c79..cb18b64 100644
--- a/post/cpu/ppc4xx/spr.c
+++ b/post/cpu/ppc4xx/spr.c
@@ -69,7 +69,7 @@
/* Additional Special-Purpose Registers.
* The values must match the initialization
- * values from arch/ppc/cpu/ppc4xx/start.S
+ * values from arch/powerpc/cpu/ppc4xx/start.S
*/
{0x30, "PID", 0x00000000, 0x00000000},
{0x3a, "CSRR0", 0x00000000, 0x00000000},
diff --git a/post/lib_ppc/Makefile b/post/lib_powerpc/Makefile
similarity index 97%
rename from post/lib_ppc/Makefile
rename to post/lib_powerpc/Makefile
index bd7a232..0cd15cf 100644
--- a/post/lib_ppc/Makefile
+++ b/post/lib_powerpc/Makefile
@@ -22,7 +22,7 @@
#
include $(TOPDIR)/config.mk
-LIB = libpostppc.a
+LIB = libpost$(ARCH).a
AOBJS-$(CONFIG_HAS_POST) += asm.o
COBJS-$(CONFIG_HAS_POST) += cpu.o cmp.o cmpi.o two.o twox.o three.o threex.o
diff --git a/post/lib_ppc/andi.c b/post/lib_powerpc/andi.c
similarity index 100%
rename from post/lib_ppc/andi.c
rename to post/lib_powerpc/andi.c
diff --git a/post/lib_ppc/asm.S b/post/lib_powerpc/asm.S
similarity index 100%
rename from post/lib_ppc/asm.S
rename to post/lib_powerpc/asm.S
diff --git a/post/lib_ppc/b.c b/post/lib_powerpc/b.c
similarity index 100%
rename from post/lib_ppc/b.c
rename to post/lib_powerpc/b.c
diff --git a/post/lib_ppc/cmp.c b/post/lib_powerpc/cmp.c
similarity index 100%
rename from post/lib_ppc/cmp.c
rename to post/lib_powerpc/cmp.c
diff --git a/post/lib_ppc/cmpi.c b/post/lib_powerpc/cmpi.c
similarity index 100%
rename from post/lib_ppc/cmpi.c
rename to post/lib_powerpc/cmpi.c
diff --git a/post/lib_ppc/complex.c b/post/lib_powerpc/complex.c
similarity index 100%
rename from post/lib_ppc/complex.c
rename to post/lib_powerpc/complex.c
diff --git a/post/lib_ppc/cpu.c b/post/lib_powerpc/cpu.c
similarity index 100%
rename from post/lib_ppc/cpu.c
rename to post/lib_powerpc/cpu.c
diff --git a/post/lib_ppc/cpu_asm.h b/post/lib_powerpc/cpu_asm.h
similarity index 100%
rename from post/lib_ppc/cpu_asm.h
rename to post/lib_powerpc/cpu_asm.h
diff --git a/post/lib_ppc/cr.c b/post/lib_powerpc/cr.c
similarity index 100%
rename from post/lib_ppc/cr.c
rename to post/lib_powerpc/cr.c
diff --git a/post/lib_ppc/fpu/20001122-1.c b/post/lib_powerpc/fpu/20001122-1.c
similarity index 100%
rename from post/lib_ppc/fpu/20001122-1.c
rename to post/lib_powerpc/fpu/20001122-1.c
diff --git a/post/lib_ppc/fpu/20010114-2.c b/post/lib_powerpc/fpu/20010114-2.c
similarity index 100%
rename from post/lib_ppc/fpu/20010114-2.c
rename to post/lib_powerpc/fpu/20010114-2.c
diff --git a/post/lib_ppc/fpu/20010226-1.c b/post/lib_powerpc/fpu/20010226-1.c
similarity index 100%
rename from post/lib_ppc/fpu/20010226-1.c
rename to post/lib_powerpc/fpu/20010226-1.c
diff --git a/post/lib_ppc/fpu/980619-1.c b/post/lib_powerpc/fpu/980619-1.c
similarity index 100%
rename from post/lib_ppc/fpu/980619-1.c
rename to post/lib_powerpc/fpu/980619-1.c
diff --git a/post/lib_ppc/fpu/Makefile b/post/lib_powerpc/fpu/Makefile
similarity index 97%
rename from post/lib_ppc/fpu/Makefile
rename to post/lib_powerpc/fpu/Makefile
index a681539..25726db 100644
--- a/post/lib_ppc/fpu/Makefile
+++ b/post/lib_powerpc/fpu/Makefile
@@ -22,7 +22,7 @@
#
include $(TOPDIR)/config.mk
-LIB = libpostppcfpu.a
+LIB = libpost$(ARCH)fpu.a
COBJS-$(CONFIG_HAS_POST) += fpu.o 20001122-1.o 20010114-2.o 20010226-1.o 980619-1.o
COBJS-$(CONFIG_HAS_POST) += acc1.o compare-fp-1.o mul-subnormal-single-1.o
diff --git a/post/lib_ppc/fpu/acc1.c b/post/lib_powerpc/fpu/acc1.c
similarity index 100%
rename from post/lib_ppc/fpu/acc1.c
rename to post/lib_powerpc/fpu/acc1.c
diff --git a/post/lib_ppc/fpu/compare-fp-1.c b/post/lib_powerpc/fpu/compare-fp-1.c
similarity index 100%
rename from post/lib_ppc/fpu/compare-fp-1.c
rename to post/lib_powerpc/fpu/compare-fp-1.c
diff --git a/post/lib_ppc/fpu/fpu.c b/post/lib_powerpc/fpu/fpu.c
similarity index 100%
rename from post/lib_ppc/fpu/fpu.c
rename to post/lib_powerpc/fpu/fpu.c
diff --git a/post/lib_ppc/fpu/mul-subnormal-single-1.c b/post/lib_powerpc/fpu/mul-subnormal-single-1.c
similarity index 100%
rename from post/lib_ppc/fpu/mul-subnormal-single-1.c
rename to post/lib_powerpc/fpu/mul-subnormal-single-1.c
diff --git a/post/lib_ppc/load.c b/post/lib_powerpc/load.c
similarity index 100%
rename from post/lib_ppc/load.c
rename to post/lib_powerpc/load.c
diff --git a/post/lib_ppc/multi.c b/post/lib_powerpc/multi.c
similarity index 100%
rename from post/lib_ppc/multi.c
rename to post/lib_powerpc/multi.c
diff --git a/post/lib_ppc/rlwimi.c b/post/lib_powerpc/rlwimi.c
similarity index 100%
rename from post/lib_ppc/rlwimi.c
rename to post/lib_powerpc/rlwimi.c
diff --git a/post/lib_ppc/rlwinm.c b/post/lib_powerpc/rlwinm.c
similarity index 100%
rename from post/lib_ppc/rlwinm.c
rename to post/lib_powerpc/rlwinm.c
diff --git a/post/lib_ppc/rlwnm.c b/post/lib_powerpc/rlwnm.c
similarity index 100%
rename from post/lib_ppc/rlwnm.c
rename to post/lib_powerpc/rlwnm.c
diff --git a/post/lib_ppc/srawi.c b/post/lib_powerpc/srawi.c
similarity index 100%
rename from post/lib_ppc/srawi.c
rename to post/lib_powerpc/srawi.c
diff --git a/post/lib_ppc/store.c b/post/lib_powerpc/store.c
similarity index 100%
rename from post/lib_ppc/store.c
rename to post/lib_powerpc/store.c
diff --git a/post/lib_ppc/string.c b/post/lib_powerpc/string.c
similarity index 100%
rename from post/lib_ppc/string.c
rename to post/lib_powerpc/string.c
diff --git a/post/lib_ppc/three.c b/post/lib_powerpc/three.c
similarity index 100%
rename from post/lib_ppc/three.c
rename to post/lib_powerpc/three.c
diff --git a/post/lib_ppc/threei.c b/post/lib_powerpc/threei.c
similarity index 100%
rename from post/lib_ppc/threei.c
rename to post/lib_powerpc/threei.c
diff --git a/post/lib_ppc/threex.c b/post/lib_powerpc/threex.c
similarity index 100%
rename from post/lib_ppc/threex.c
rename to post/lib_powerpc/threex.c
diff --git a/post/lib_ppc/two.c b/post/lib_powerpc/two.c
similarity index 100%
rename from post/lib_ppc/two.c
rename to post/lib_powerpc/two.c
diff --git a/post/lib_ppc/twox.c b/post/lib_powerpc/twox.c
similarity index 100%
rename from post/lib_ppc/twox.c
rename to post/lib_powerpc/twox.c