[U-Boot-Users] [PATCH 1/4] AVR32: Rename at32ap7000 -> at32ap700x

Haavard Skinnemoen hskinnemoen at atmel.com
Tue Oct 30 09:59:32 CET 2007


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 at atmel.com>
---
 Makefile                                           |    2 +-
 cpu/at32ap/{at32ap7000 => at32ap700x}/Makefile     |    0 
 cpu/at32ap/{at32ap7000 => at32ap700x}/gpio.c       |    0 
 .../{arch-at32ap7000 => arch-at32ap700x}/clk.h     |    0 
 .../{arch-at32ap7000 => arch-at32ap700x}/gpio.h    |    0 
 .../hmatrix2.h                                     |    0 
 .../memory-map.h                                   |    0 
 .../{arch-at32ap7000 => arch-at32ap700x}/mmc.h     |    0 
 8 files changed, 1 insertions(+), 1 deletions(-)
 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 5643aa9..f650b27 100644
--- a/Makefile
+++ b/Makefile
@@ -2603,7 +2603,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
-- 
1.5.3.4





More information about the U-Boot mailing list