From 36f28f8a9605ee5dcfa330482cfc62171261af97 Mon Sep 17 00:00:00 2001
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
Date: Mon, 29 Oct 2007 13:09:56 +0100
Subject: [PATCH] AVR32: Rename at32ap7000 -> at32ap700x

The SoC-specific code for all the AT32AP700x CPUs is practically
identical; the only difference is that some chips have less features
than others. By doing this rename, we can add support for the AP7000
derivatives simply by making some features conditional.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
---
 Makefile                                                        | 2 +-
 cpu/at32ap/{at32ap7000 => at32ap700x}/Makefile                  | 0
 cpu/at32ap/{at32ap7000 => at32ap700x}/gpio.c                    | 0
 include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/clk.h    | 0
 include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/gpio.h   | 0
 .../asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/hmatrix2.h   | 0
 .../asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/memory-map.h | 0
 include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/mmc.h    | 0
 8 files changed, 1 insertion(+), 1 deletion(-)
 rename cpu/at32ap/{at32ap7000 => at32ap700x}/Makefile (100%)
 rename cpu/at32ap/{at32ap7000 => at32ap700x}/gpio.c (100%)
 rename include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/clk.h (100%)
 rename include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/gpio.h (100%)
 rename include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/hmatrix2.h (100%)
 rename include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/memory-map.h (100%)
 rename include/asm-avr32/{arch-at32ap7000 => arch-at32ap700x}/mmc.h (100%)

diff --git a/Makefile b/Makefile
index 1ff80b50d9..1969dcf739 100644
--- a/Makefile
+++ b/Makefile
@@ -2656,7 +2656,7 @@ bf561-ezkit_config:	unconfig
 #########################################################################
 
 atstk1002_config	:	unconfig
-	@$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap7000
+	@$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
 
 #########################################################################
 #########################################################################
diff --git a/cpu/at32ap/at32ap7000/Makefile b/cpu/at32ap/at32ap700x/Makefile
similarity index 100%
rename from cpu/at32ap/at32ap7000/Makefile
rename to cpu/at32ap/at32ap700x/Makefile
diff --git a/cpu/at32ap/at32ap7000/gpio.c b/cpu/at32ap/at32ap700x/gpio.c
similarity index 100%
rename from cpu/at32ap/at32ap7000/gpio.c
rename to cpu/at32ap/at32ap700x/gpio.c
diff --git a/include/asm-avr32/arch-at32ap7000/clk.h b/include/asm-avr32/arch-at32ap700x/clk.h
similarity index 100%
rename from include/asm-avr32/arch-at32ap7000/clk.h
rename to include/asm-avr32/arch-at32ap700x/clk.h
diff --git a/include/asm-avr32/arch-at32ap7000/gpio.h b/include/asm-avr32/arch-at32ap700x/gpio.h
similarity index 100%
rename from include/asm-avr32/arch-at32ap7000/gpio.h
rename to include/asm-avr32/arch-at32ap700x/gpio.h
diff --git a/include/asm-avr32/arch-at32ap7000/hmatrix2.h b/include/asm-avr32/arch-at32ap700x/hmatrix2.h
similarity index 100%
rename from include/asm-avr32/arch-at32ap7000/hmatrix2.h
rename to include/asm-avr32/arch-at32ap700x/hmatrix2.h
diff --git a/include/asm-avr32/arch-at32ap7000/memory-map.h b/include/asm-avr32/arch-at32ap700x/memory-map.h
similarity index 100%
rename from include/asm-avr32/arch-at32ap7000/memory-map.h
rename to include/asm-avr32/arch-at32ap700x/memory-map.h
diff --git a/include/asm-avr32/arch-at32ap7000/mmc.h b/include/asm-avr32/arch-at32ap700x/mmc.h
similarity index 100%
rename from include/asm-avr32/arch-at32ap7000/mmc.h
rename to include/asm-avr32/arch-at32ap700x/mmc.h
-- 
2.39.5