[U-Boot] [PATCH v2 1/2] avr32: rename memory-map.h -> hardware.h

Andreas Bießmann
2010-11-05T09:15:30Z

Signed-off-by: Andreas Bie?mann <biessmann@corscience.de>
---
changes since v1:
- only rename in this patch and fixup includes in respective includes
- use 'format-patch -C'

arch/avr32/cpu/at32ap700x/clk.c | 2 +-
arch/avr32/cpu/at32ap700x/portmux.c | 2 +-
arch/avr32/cpu/cpu.c | 2 +-
arch/avr32/cpu/hsdramc.c | 2 +-
arch/avr32/cpu/interrupts.c | 2 +-
arch/avr32/cpu/portmux-gpio.c | 2 +-
arch/avr32/cpu/portmux-pio.c | 2 +-
arch/avr32/include/asm/arch-at32ap700x/gpio.h | 2 +-
.../arch-at32ap700x/{memory-map.h => hardware.h} | 0
board/miromico/hammerhead/hammerhead.c | 2 +-
drivers/mmc/atmel_mci.c | 2 +-
include/configs/atngw100.h | 2 +-
include/configs/atstk1002.h | 2 +-
include/configs/atstk1003.h | 2 +-
include/configs/atstk1004.h | 2 +-
include/configs/atstk1006.h | 2 +-
include/configs/favr-32-ezkit.h | 2 +-
include/configs/mimc200.h | 2 +-
18 files changed, 17 insertions(+), 17 deletions(-)
rename arch/avr32/include/asm/arch-at32ap700x/{memory-map.h => hardware.h} (100%)

diff --git a/arch/avr32/cpu/at32ap700x/clk.c b/arch/avr32/cpu/at32ap700x/clk.c
index 742bc6b..b63b9df 100644
--- a/arch/avr32/cpu/at32ap700x/clk.c
+++ b/arch/avr32/cpu/at32ap700x/clk.c
@@ -24,7 +24,7 @@
#include <asm/io.h>

#include <asm/arch/clk.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>
#include <asm/arch/portmux.h>

#include "sm.h"
diff --git a/arch/avr32/cpu/at32ap700x/portmux.c b/arch/avr32/cpu/at32ap700x/portmux.c
index b1f2c6f..e3e38a2 100644
--- a/arch/avr32/cpu/at32ap700x/portmux.c
+++ b/arch/avr32/cpu/at32ap700x/portmux.c
@@ -24,7 +24,7 @@
#include <asm/io.h>

#include <asm/arch/chip-features.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>
#include <asm/arch/portmux.h>

/*
diff --git a/arch/avr32/cpu/cpu.c b/arch/avr32/cpu/cpu.c
index e4489bb..7907837 100644
--- a/arch/avr32/cpu/cpu.c
+++ b/arch/avr32/cpu/cpu.c
@@ -27,7 +27,7 @@
#include <asm/sysreg.h>

#include <asm/arch/clk.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#include "hsmc3.h"

diff --git a/arch/avr32/cpu/hsdramc.c b/arch/avr32/cpu/hsdramc.c
index b6eae66..1485494 100644
--- a/arch/avr32/cpu/hsdramc.c
+++ b/arch/avr32/cpu/hsdramc.c
@@ -25,7 +25,7 @@
#include <asm/sdram.h>

#include <asm/arch/clk.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#include "hsdramc1.h"

diff --git a/arch/avr32/cpu/interrupts.c b/arch/avr32/cpu/interrupts.c
index c6d8d16..c751981 100644
--- a/arch/avr32/cpu/interrupts.c
+++ b/arch/avr32/cpu/interrupts.c
@@ -27,7 +27,7 @@
#include <asm/processor.h>
#include <asm/sysreg.h>

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define HANDLER_MASK 0x00ffffff
#define INTLEV_SHIFT 30
diff --git a/arch/avr32/cpu/portmux-gpio.c b/arch/avr32/cpu/portmux-gpio.c
index 9acd040..7b64c89 100644
--- a/arch/avr32/cpu/portmux-gpio.c
+++ b/arch/avr32/cpu/portmux-gpio.c
@@ -22,7 +22,7 @@
#include <common.h>

#include <asm/io.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>
#include <asm/arch/gpio.h>

void portmux_select_peripheral(void *port, unsigned long pin_mask,
diff --git a/arch/avr32/cpu/portmux-pio.c b/arch/avr32/cpu/portmux-pio.c
index a29f94e..cb5e962 100644
--- a/arch/avr32/cpu/portmux-pio.c
+++ b/arch/avr32/cpu/portmux-pio.c
@@ -22,7 +22,7 @@
#include <common.h>

#include <asm/io.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>
#include <asm/arch/gpio.h>

void portmux_select_peripheral(void *port, unsigned long pin_mask,
diff --git a/arch/avr32/include/asm/arch-at32ap700x/gpio.h b/arch/avr32/include/asm/arch-at32ap700x/gpio.h
index 303e353..b0254f2 100644
--- a/arch/avr32/include/asm/arch-at32ap700x/gpio.h
+++ b/arch/avr32/include/asm/arch-at32ap700x/gpio.h
@@ -23,7 +23,7 @@
#define __ASM_AVR32_ARCH_GPIO_H__

#include <asm/arch/chip-features.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define NR_GPIO_CONTROLLERS 5

diff --git a/arch/avr32/include/asm/arch-at32ap700x/memory-map.h b/arch/avr32/include/asm/arch-at32ap700x/hardware.h
similarity index 100%
rename from arch/avr32/include/asm/arch-at32ap700x/memory-map.h
rename to arch/avr32/include/asm/arch-at32ap700x/hardware.h
diff --git a/board/miromico/hammerhead/hammerhead.c b/board/miromico/hammerhead/hammerhead.c
index 78f4fd4..a0794ba 100644
--- a/board/miromico/hammerhead/hammerhead.c
+++ b/board/miromico/hammerhead/hammerhead.c
@@ -29,7 +29,7 @@
#include <asm/sdram.h>
#include <asm/arch/clk.h>
#include <asm/arch/hmatrix.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>
#include <asm/arch/mmu.h>
#include <asm/arch/portmux.h>

diff --git a/drivers/mmc/atmel_mci.c b/drivers/mmc/atmel_mci.c
index 3946ffe..0af8d42 100644
--- a/drivers/mmc/atmel_mci.c
+++ b/drivers/mmc/atmel_mci.c
@@ -28,7 +28,7 @@
#include <asm/errno.h>
#include <asm/byteorder.h>
#include <asm/arch/clk.h>
-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#include "atmel_mci.h"

diff --git a/include/configs/atngw100.h b/include/configs/atngw100.h
index 83056b6..f40771d 100644
--- a/include/configs/atngw100.h
+++ b/include/configs/atngw100.h
@@ -24,7 +24,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index 6416d17..252c5ae 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -24,7 +24,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
diff --git a/include/configs/atstk1003.h b/include/configs/atstk1003.h
index a4d9b0b..8f06081 100644
--- a/include/configs/atstk1003.h
+++ b/include/configs/atstk1003.h
@@ -24,7 +24,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
diff --git a/include/configs/atstk1004.h b/include/configs/atstk1004.h
index 06bb5da..12c9414 100644
--- a/include/configs/atstk1004.h
+++ b/include/configs/atstk1004.h
@@ -24,7 +24,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
diff --git a/include/configs/atstk1006.h b/include/configs/atstk1006.h
index d3cbee6..8cbaf75 100644
--- a/include/configs/atstk1006.h
+++ b/include/configs/atstk1006.h
@@ -24,7 +24,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
diff --git a/include/configs/favr-32-ezkit.h b/include/configs/favr-32-ezkit.h
index 1c381c7..a65fbd4 100644
--- a/include/configs/favr-32-ezkit.h
+++ b/include/configs/favr-32-ezkit.h
@@ -22,7 +22,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
diff --git a/include/configs/mimc200.h b/include/configs/mimc200.h
index 6ed9e75..be3941e 100644
--- a/include/configs/mimc200.h
+++ b/include/configs/mimc200.h
@@ -24,7 +24,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H

-#include <asm/arch/memory-map.h>
+#include <asm/arch/hardware.h>

#define CONFIG_AVR32 1
#define CONFIG_AT32AP 1
--
1.7.2.3